supertokens / docs

SuperTokens documentation
42 stars 73 forks source link

verifySession without using SDK can take long processing time #773

Open akalitenya opened 9 months ago

akalitenya commented 9 months ago

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 commented 9 months ago

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

akalitenya commented 9 months ago

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

rishabhpoddar commented 9 months ago

Makes sense. We will update the docs. Thanks.