I want to check the client after a user registers so I can set his role
You can also check the URL of the current request to determine the caller, or add a special header to request.
hi
You can check the request and identity in the middleware.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/write?view=aspnetcore-6.0
hi
You need to run the ABPApplication.IdentityServer
, ABPApplication.HttpAPI.Host
and ABPApplication.Web
.
is there a way to assign it based on what client is calling the API?
Using roles is the easiest way, and they can be assign it if they use different IdentityServer Client.
In short, we can implement these after user authentication.
hi
Can you share a simple project and steps to reproduce? liming.ma@volosoft.com
https://github.com/abpframework/abp/issues/10565
hi
You can enable the 2fa after logging into the CLI, and we will support it in the future,
hi
Maybe we can make DeleteBehavior
configurable.