Is it possible to combine Hydra with Kratos and Ke...
# talk-hydra
p
Is it possible to combine Hydra with Kratos and Keto to implement the following: 1. User A is in organization A and tries to log into OIDC client A that belongs to organization A. This works. At the same time, the user has no access to client B that belongs to organization B. The user might also log into client C which belongs to organization A. 2. User A has different roles in client A and client C. These roles are returned as information in the token. I'd really appreciate any feedback! I'm both interested in knowing whether this is possible with the open-source software as well as with Ory Network.
b
This is also possible with just Kratos, Hydra and using the metadata in Kratos identity with some business level logic to check which user belongs to which organization :)
p
Thanks @bulky-architect-22083! Sounds really promising. I'm a bit less familiar with Hydra as with the other tools and I haven't found anything there in this direction. How would this work that only a certain group of users is able to get a token for a client?