Activities of "maliming"

hi @AndrewT

I will prepare a demo.

https://github.com/abpframework/abp/issues/8281

As I mentioned above, the Identity Server -> Client does not appear when I logged in as tenant admin, so I could not grant permission to this client on the tenant level.

The relevant entities of the identity server are not multi-tenant. You can only grant permissions to client on Host level.

the Authorize does not allow multiple policies, how to combine it with the custom policy for identity server client?

context.Services.AddAuthorization(options =>
{
    options.AddPolicy("YourPolicy", policy => policy.AddRequirements(new IAuthorizationRequirement[]
    {
        new Volo.Abp.Authorization.PermissionRequirement("Abp Permission Name 1"),
        new Volo.Abp.Authorization.PermissionRequirement("Abp Permission Name 2")
    }));
});

[Authorize("YourPolicy")]
public class TestingTenancyAppService : ApplicationService, ITestingTenancyAppService

https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-5.0

hi

The 4.3 version will enhanced mail & phone confirmation feature.

If the user can't log in due to unconfirmed email or phone number, they will be redirected to the following page for confirmation.

hi @AndrewT

Use subdomain to confirm current tenant is no problem. https://docs.abp.io/en/abp/latest/Multi-Tenancy#domain-subdomain-tenant-resolver

There is a problem in angular. It fixed in 4.3. https://github.com/abpframework/abp/issues/8231

I will provide angular examples after 4.3, currently there are mvc and mvc tiered examples. https://github.com/maliming/DomainTenantResolver

Yes It will be fixed in 4.3.

I updated the Entity.

Can you share the code that update the entity?

hi

The relevant entities of the identity server are not multi-tenant.

You can grant some permissions to this client.Or set some scopes for this client. Then check the scope when authorizing.

You can change AbsoluteRefreshTokenLifetime in database or IdentityServerDataSeedContributor .

AbsoluteRefreshTokenLifetime : 31536000(default 365 day) => 1800(30 min)

the abp api generator doesn't recognise property names

It will support in v4.3. https://github.com/abpframework/abp/issues/7776

Which specific file in my project can I set this?

This is a static property, you can change it in places, such as Program.cs, Startup.cs

Showing 7981 to 7990 of 8489 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56