hi
I create a ShadowUser in the OnTokenValidated event within the JwtBearer
Don't do this. Just do it like Google login.
When I add a role to such a user, why are these menus not visible on the web side (MVC)?
Can you try to re-login?
If you don't want to re-login, we have a dynamic claims feature.
https://abp.io/docs/latest/framework/fundamentals/dynamic-claims
Thanks.
hi
ABP is an ASP.NET Core backend framework. And the ABP Studio template supports mobile app options.
What is the architecture/Technical selection of your mobile and desktop?
Thanks.
hi
Do you mean your web app as an API website that is consumed by your Mobile and desktop apps?
Thanks.
hi
Can you share a demo app?
liming.ma@volosoft.com
Thanks.
hi
In this case, you add your auth server as an external login provider(like Google login)
So add the account module and AddAbpOpenIdConnect(auth server) to your client applications.
You will see a login option on your client application login page.
Thanks.
hi
The loading time of the modal is too long
What is the total load time?
Can you check the EF Core query info? Enable information log level for EF Core to see SQL query statements.
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks.
hi
Change your log code in all projects(API. AuthServer)
Then share all the logs.txt files again.
liming.ma@volosoft.com
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
IdentityModelEventSource.ShowPII = true;
IdentityModelEventSource.Logger.LogLevel = EventLevel.Verbose;
var wilsonTextLogger = new TextWriterEventListener("Logs/identitymodel.txt");
wilsonTextLogger.EnableEvents(IdentityModelEventSource.Logger, EventLevel.Verbose);
Thanks.