hi
I can remote-check your app at https://www.worldtimebuddy.com/?qm=1&lid=1816670&h=1816670&date=2024-11-14&sln=10-17&hf=0
Please send your time to liming.ma@volosoft.com
I will share the zoom link.
hi
Can you share an online URL and a test username with a password? I will check it online.
Thanks.
liming.ma@volosoft.com
hi
The client_id is Litmus_App
Please check the OpenIddictApplications
table's data in the database.
The RedirectUris
should contains the http://localhost:4200
error:invalid_request
error_description:The specified 'redirect_uri' is not valid for this client application.
error_uri:https://documentation.openiddict.com/errors/ID2043
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