I'm trying to understand the IdentityServer mechanism for the authentication and authorization. suppose we have 3 types of clients (apps), each one has its own user-role permission policies (i.e for showing/hiding the menus).
So, in the idp world, Where does the authorization logic goes? is that the client's responsibility or idp?
I think that the idp just authenticates the user, then redirects him/her to the client, after that, the client must handle all the authorization tasks (show/hide menus based on the local user-roles database). the user is working with the client till he/she wants to logout. again, he/she (the client on behalf) has to communicate with idp.
in summary, I mean I have a User, Roles, and UserRoles tables in each client's databases separately to handle the local authorization logic? Is that correct?