Answer the question
In order to leave comments, you need to log in
OpenIdDict + multiple clients and permissions?
Hello, help me understand.
I am writing an ASPNET CORE + Angular application.
Authorization is implemented using OpenIdDict, everything works.
But there was a need to "move" users to a separate server.
Since, in the future, authorization is planned, both through the site and through the mobile application.
And here I don’t quite understand how access rights will be checked ..
Fontend (angular) " client 1 " is authorized (login, password) on the " authentication server ", receives a token.
After the fontend " client 1 " accesses the controller of its backend, which, for example, [Authorize(Roles="Consumer")]
How does the backend "", validate the token?
I would be very grateful for the " client 1 " backend configuration code
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question