You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I am writing automatic tests with Cypress (This is not related to cypress but I am putting here to help others find the issue), it seems that I click a bit too fast on the login button, (ie: just after silentRenew request being sent, before silentRenew failing). Furthermore, login() doesn't open the Idp login page fast enough and silentRenew failure is processed.
All these bad timings, causes the silentRenew failure to clear the codeVerifier, state... even if state doesn't match.
This causes the code after, successful authentication to fail to validate the response and get the token.
To Reproduce
Be unlucky like me :D
Expected behavior
resetAuthorizationData should not be called if the state in the url doesn't match, the one stored.
Workaround
Workaround for others, wait 1s before clicking on logging, or wait for silent renew failure in iframe
The text was updated successfully, but these errors were encountered:
14.1.5
...
Describe the bug
When I am writing automatic tests with Cypress (This is not related to cypress but I am putting here to help others find the issue), it seems that I click a bit too fast on the login button, (ie: just after silentRenew request being sent, before silentRenew failing). Furthermore, login() doesn't open the Idp login page fast enough and silentRenew failure is processed.
All these bad timings, causes the silentRenew failure to clear the
codeVerifier
,state
... even if state doesn't match.This causes the code after, successful authentication to fail to validate the response and get the token.
To Reproduce
Be unlucky like me :D
Expected behavior
resetAuthorizationData should not be called if the state in the url doesn't match, the one stored.
Workaround
Workaround for others, wait 1s before clicking on logging, or wait for silent renew failure in iframe
The text was updated successfully, but these errors were encountered: