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

verifySession without using SDK can take long processing time #773

Open
akalitenya opened this issue Jan 15, 2024 · 3 comments
Open

verifySession without using SDK can take long processing time #773

akalitenya opened this issue Jan 15, 2024 · 3 comments
Assignees

Comments

@akalitenya
Copy link

I suggest to make it clear in docs that not updating access token on frontend from response of request to ANY user protected route (not only verify-code or refresh) can lead to long processing time for verifySession for all next requests until token updated.

https://supertokens.com/docs/session/quick-setup/handling-session-tokens#making-network-requests-to-protected-apis-1

@rishabhpoddar
Copy link
Member

@akalitenya this is only true for header based auth (with authorization bearer token) being used right?

@akalitenya
Copy link
Author

I used header based auth (bearer token) and did not try the cookie approach.

@rishabhpoddar
Copy link
Member

Makes sense. We will update the docs. Thanks.

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

3 participants