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

Not able to perform simultaneous auth flows with the same client #3757

Open
3 of 5 tasks
jcasey214 opened this issue Apr 11, 2024 · 0 comments
Open
3 of 5 tasks

Not able to perform simultaneous auth flows with the same client #3757

jcasey214 opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something is not working.

Comments

@jcasey214
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

Hydra does not support simultaneous auth flows for the same client in the same browser.

Reproducing the bug

  • Initiate the hydra OIDC flow for the same client in two or more tabs of the same browser
  • Attempt to complete login in any except the last tab that initiated the flow
  • Error: request_forbidden reason:The CSRF value from the token does not match the CSRF value from the data store.

Relevant log output

No response

Relevant configuration

No response

Version

v2.2.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

I have an app that provides access to multiple services with the same OIDC identity and I would like to utilize hydra as my OIDC provider to login to that application. Our users may have multiple tabs open attempting to access different service providers through our application. Ideally, all logins could succeed.

Based on some of the comments on the pr that enabled simultaneous logins for different clients, it seems like your team was open to a CSRF cookie change that would enable simultaneous logins for the same client in the same browser. We could attempt to work on this if you are still open to it.

@jcasey214 jcasey214 added the bug Something is not working. label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant