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

Pages in docs module triggers auth token refresh #8200

Closed
3 tasks done
licitdev opened this issue Sep 21, 2021 · 0 comments · Fixed by #8201
Closed
3 tasks done

Pages in docs module triggers auth token refresh #8200

licitdev opened this issue Sep 21, 2021 · 0 comments · Fixed by #8201
Labels

Comments

@licitdev
Copy link
Member

Preflight Checklist

Describe the Bug

Browsing pages in the docs module triggers a refresh to the auth token.

When there are multiple link changes within a short duration (before the previous request's round-trip time), such as double click, the second /auth/refresh will fail with an invalid token.

The user may be redirected back to the login page, sometimes will just be a page reload.
It depends on the RTT of the requests, sometimes it may show a currently authenticated login page, sometimes will show the username and password login page...

Screen.Recording.2021-09-21.at.10.04.47.PM.mov

To Reproduce

Browse the docs module, double click one of the page link in the navigation.

What version of Directus are you using?

v9.0.0-rc.93

What version of Node.js are you using?

v16

What database are you using?

Postgres

What browser are you using?

Safari

What operating system are you using?

macOS

How are you deploying Directus?

PaaS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants