liming.ma@volosoft.com
hi
Please share the content of IdentityService host module. It may be IdentityServiceModule or IdentityServiceHostModule
: )
hi
The role type in claims is ClaimTypes.Role(http://schemas.microsoft.com/ws/2008/06/identity/claims/role)
Please check the typeValue of AbpClaimTypes.Role
var typeValue = AbpClaimTypes.Role
typeValue should be http://schemas.microsoft.com/ws/2008/06/identity/claims/role
{
"Type": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role",
"Value": "admin"
}
If the typeValue is role, that's mean your claim type is incorrect.
Please also check the Roles of CurrentUser, if the Roles is empty, it is also the problem of claim type.
Thanks.
hi I have checked your angular app.
The angular should init the code flow and redirect to autherver website.
This is the default behavior of abp angular app.
angular app -> click login button -> redirect to authserver website(login page.).
Can you check your app to make this?
hi
Let me see your code. But I think you still need to reproduce the problem in the end.
Please join and share your screen.
Thanks https://us05web.zoom.us/j/86954384800?pwd=rqxIqOwttMkgIKuAKD86w3KilGRFzO.1
hi
This issue is highly escalated into our organization and we certainly need you to look into this matter and provide support to resolve it.
Can you ask other colleagues if they can reproduce the problem?
I have explained a lot of the content of the problem.
References: https://abp.io/support/questions/8267/Tenant-Id-and-Tenant-Name-Not-Set-in-Header-After-Dashboard-Redirect-SSO-OIDC?CurrentPage=2#answer-3a163ae6-c2bb-7256-cbd1-03ecdb09add8 https://abp.io/support/questions/8267/Tenant-Id-and-Tenant-Name-Not-Set-in-Header-After-Dashboard-Redirect-SSO-OIDC?CurrentPage=2#answer-3a163adf-89f4-6c29-5e28-87e18a775dd7
hi
Remote troubleshooting will take too much time, especially under poor network conditions. This can be avoided. Because your problem has nothing to do with your microservices project.
I can't do this directly without permission, and I don't think they will allow me to proceed with this approach.
The code you share will not contain any secrets. It's a simple Angular app and an auth server project with an external login provider.
You can create an open-source (app instead of app-pro) template project and add your code.
ok, You can create a private GitHub repo and invite me as a contributor.
https://github.com/maliming