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

Identify user in Multi-tenant with cleared sessions #408

Open
AnnaYakovlev opened this issue Oct 19, 2024 · 0 comments
Open

Identify user in Multi-tenant with cleared sessions #408

AnnaYakovlev opened this issue Oct 19, 2024 · 0 comments

Comments

@AnnaYakovlev
Copy link

Hello,

I'm implementing an application that supports multiple tenants, with the metadata for each tenant stored in a database. I'm using the SAML_CONFIG_LOADER to dynamically load the SAML configuration based on the user.

When redirecting to the login page, I fetch the user's metadata from the database based on the user data I stored in the session. However, upon receiving the SAML response at the ACS endpoint, the session is cleared, and the user is not yet authorized. This means I cannot access the SAML configuration needed for authentication.

How can I retrieve the user identity (email will be enough) from the SAML response before authorization, considering that the session is cleared and the user is not identifiable at the ACS endpoint?

Thanks

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

1 participant