Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for sessions and session_state #191

Open
raivil opened this issue Feb 17, 2023 · 1 comment
Open

Support for sessions and session_state #191

raivil opened this issue Feb 17, 2023 · 1 comment

Comments

@raivil
Copy link

raivil commented Feb 17, 2023

Hey.

I'm reading the OIDC specs and other articles and looking for information on how to implement a proper support for sessions.
The protocol states the use of session_state but I havent find out any info if Doorkeeper OIDC gem supports it (or if I should do something about it).

How can an Doorkeeper OIDC IdP generate/maintain the session_state for each of the authenticated RPs?

I'm currently developing a multi tenant monolith application where it will work for many customers and also be the centralized authentication (IdP). It's a monolith with a single database.

client1.example.com 
client2.example.com
client_with_custom_domain.com
auth.example.com (authenticate users from all customers, with devise database strategy)

Each domain/subdomain is independent. A user can log into any (at the same time) if access previously provided.

@phlegx
Copy link
Contributor

phlegx commented Mar 6, 2024

@raivil did you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants