I’m new to Hydra, and trying to see if it can fit my use case. I have multiple websites(50+) that each have a different pool of user accounts. I would like for each of these sites to be able to use any of the other sites to log in to the original site.
So for example, say i have site red and site blue. If a user has an account on red, I would like him to be able to use that account to sign in on blue. And vice versa. So in effect, each site would be an identity provider, and be able to use its accounts to sign in to the other sites.
Ideally, I would like to be able to do this using 1 instance of hydra where each site was a separate client in hydra. Searching your forums and the net, I was able to find this post(below) which seems to be similar.
From this, the docs, and the sample login/consent app, i was able to setup a simple test case where i have the 2 sites(red and blue) setup so that starting on red, i can use the auth code flow to redirect to blue to login, consent, and get my code then tokens. however, i end up on blue with all of my tokens made for blue, where as my intent is to end up on red with tokens made to be used on red, but with account info for the account on blue.
I was hoping you might be able to give me some assistance as to how to proceed from here. Or if not, let me know if i’m trying to do something Hydra is not designed for.
Thank you for your time, and hope to hear from you soon!