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

Access tokens in page data not updated after token refresh #63

Closed
pilcrowOnPaper opened this issue Sep 9, 2022 · 2 comments
Closed
Labels
bug Something ain't right...

Comments

@pilcrowOnPaper
Copy link
Member

pilcrowOnPaper commented Sep 9, 2022

Bug report

Tokens in pageData (await parent()) is not updated after token refresh.

Current behavior

After refreshing the access token:

const lucia = await parent()
console.log(lucia.access_token) // logs old access token

Expected behavior

console.log(lucia.access_token) // logs new access token

Possible cause

Unimplemented

Additional info

Version

0.7.0 and over

Reproduction

none

Additional notes

none

@pilcrowOnPaper pilcrowOnPaper added pkg:lucia-sveltekit bug Something ain't right... priority Must be fixed as soon as possible labels Sep 9, 2022
@pilcrowOnPaper
Copy link
Member Author

Fix planned for v0.8.4

@pilcrowOnPaper pilcrowOnPaper added in the works and removed priority Must be fixed as soon as possible labels Sep 13, 2022
@pilcrowOnPaper pilcrowOnPaper mentioned this issue Sep 15, 2022
@pilcrowOnPaper
Copy link
Member Author

fixed with #72 (v0.8.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something ain't right...
Projects
None yet
Development

No branches or pull requests

1 participant