Skip to content

[Hydra] Rejecting the login request based on whether the user has access to that client-id or not? #153

Answered by kmherrmann
alash3al asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! A good approach would be to protect application access with e.g. Ory Permissions (based on Keto). Then you can separate the authorization from user authentication, gaining a lot of flexibility to set up permission schemes for various applications and functions and resources within them.
There are a few approaches to avoid having multiple IdPs, SSO servers and configurations - You can model your different user groups e.g. with different identity schemas, attach metadata identifying their group membership(s) or create fine-grained permission relations on a user level.
To actually enforce permissions, you can use Ory Oathkeeper as an Identity Aware Proxy in front of your services, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants