Open cip8 opened 2 months ago
The refresh logic should be triggered if the refresh token is known.
Some backends might require both tokens for a refresh, but this is not default behavior.
Refresh tokens are long-lasting and usually expire after access tokens, so requiring both for a successful refresh should be optional.
Open in Stackblitz
pnpm add https://pkg.pr.new/@sidebase/nuxt-auth@902
commit: f8ca293
f8ca293
Fix is incomplete - logout doesn't clear refresh cookie so the user re-authenticates on each visit. Will update soon.
Tested with my local setup, everything works fine now.
๐ Linked issue
890 [second part]
โ Type of change
๐ Description
The refresh logic should be triggered if the refresh token is known.
Some backends might require both tokens for a refresh, but this is not default behavior.
Refresh tokens are long-lasting and usually expire after access tokens, so requiring both for a successful refresh should be optional.
๐ Checklist