AxaFrance / oidc-client

Light, Secure, Pure Javascript OIDC (Open ID Connect) Client. We provide also a REACT wrapper (compatible NextJS, etc.).
MIT License
601 stars 161 forks source link

When 2 different tabs are opened, only the last opened tab login works, the others receive the State not valid error. #1473

Open ozanmanav opened 1 month ago

ozanmanav commented 1 month ago

Issue and Steps to Reproduce

Case:

Open application link it is redirecting to login page, Open second tab app link and it is redirecting again login page, if we login with latest opened one it is working fine.

so we have two different login page now. But if we try login for first login page, it is getting this error:

image

Versions

7.22.29

Screenshots

image

Expected

Two tabs login should work fine.

Actual

Only latest opened login is working. previous ones are gettign State not valid error.