Unable to use Cypress with in memory token storage after changes in version 1.12.0
See original GitHub issueDescribe the problem
In Cypress tests you cannot redirect back and forward to the authorisation server for interactive login. What you do instead is acquire a token with by using password flow and use this token in the application you are testing.
This was all working fine, until version 1.12.0 added some additional state validation. It checks if the nonce matches with the nonce claim in the id token. But since I acquire the token with the password flow, there is no nonce claim in the token.
It looks like it’s not possible to use the combination of Cypress and Auth0 (storing the token in memory) at the moment. See also the discussion here
What was the expected behavior?
Using the great products Cypress and Auth0 together.
Environment
- Version of
auth0-spa-js
used: 1.12.0 and higher - Which framework are you using, if applicable (Angular, React, etc): Cypress
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Troubleshooting | Cypress Documentation
This will clear out all installed versions of Cypress that may be cached on your machine. cypress cache clear. After running this command,...
Read more >Changelog - Nextcloud
Update timely and don't run unmaintained Nextcloud versions. Privacy does not exist without security. Our security policy is to publicize CVE's about 3...
Read more >Zephyr 2.7.0
We are pleased to announce the release of Zephyr RTOS version ... The following sections provide detailed lists of changes by component.
Read more >Docker Compose release notes
Compose v2.9.0 contains changes to the environment variable's precedence that have since been reverted. We recommend using v2.10+ to avoid compatibility ...
Read more >Releases · DLCM / Community / DLCM-Backend - GitLab
... Unable to see the full name of an org unit when selecting them; [DLCM-1904] - Solidify-Auth: creation and update dates not stored...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@HWouters After some discussion with the team, we’ve decided to remove this check. A PR has been raised and is attached to this issue.
@weyert I see you’ve raised another issue (#676), let’s chat about it on there.