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

The token API fails due to race conditions while using different routes in different browser tab, where an incorrect JWT header or signature is sent. #288

Open
bishnu-dmg opened this issue Oct 9, 2024 · 0 comments

Comments

@bishnu-dmg
Copy link

I need to implement the Web Locks API or use setTimeout to attempt a solution for this issue. However, I've noticed that the axios.get call to fetch the token isn't being triggered due to an interceptor problem. If I remove the interceptor, everything works, but removing it isn't a viable option. I need to find an alternative solution. Can anyone help?

@bishnu-dmg bishnu-dmg changed the title The token API fails due to race conditions in a multi-tab environment, where an incorrect JWT header or signature is sent. The token API fails due to race conditions while using different routes in different browser tab, where an incorrect JWT header or signature is sent. Oct 9, 2024
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