Have you set claim types?
AbpClaimTypes.UserName = JwtClaimTypes.PreferredUserName;
AbpClaimTypes.Name = JwtClaimTypes.GivenName;
AbpClaimTypes.SurName = JwtClaimTypes.FamilyName;
AbpClaimTypes.UserId = JwtClaimTypes.Subject;
AbpClaimTypes.Role = JwtClaimTypes.Role;
AbpClaimTypes.Email = JwtClaimTypes.Email;
hi joey73
Is your problem solved?
Can the problem be reproduced by connecting to the remote database locally?
ok, Please share the Debug Logs during your login process.
hi
var roles = await IdentityUserManager.GetRoleNamesAsync(user).ConfigureAwait(false);
Does the roles have any values?
Please share the Logs during your login process.
hi
it takes some time.
What do you mean by this? Can you explain it in detail?
Thanks.
Good news.
hi
You can ignore this exception in your Visual Studio.
https://abp.io/support/questions/7774/Login-Sayfas-Hakknda-Bilgi#answer-3a14f755-4a52-8bba-3893-a912c7fe27e4