We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I also posted about this in discord. handleSilentRefresh never gets the ball rolling on checkAccessToken.
handleSilentRefresh
checkAccessToken
Here is the diff that solved my problem:
diff --git a/node_modules/lucia-sveltekit/client.js b/node_modules/lucia-sveltekit/client.js index cecee87..5c5d82b 100644 --- a/node_modules/lucia-sveltekit/client.js +++ b/node_modules/lucia-sveltekit/client.js @@ -94,6 +94,8 @@ export const handleSilentRefresh = (errorHandler = () => { }) => { } }, 5000); }; + checkAccessToken(); + const refresh = async (session) => { if (!session) return;
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered:
I have no idea how I missed that, thanks for pointing that out. Will be fixed with v0.10.0 (which might take a while)
Sorry, something went wrong.
I'll fix this in a separate update if v0.10.0 is going to take some time to finish
Fixed with v0.10.0
No branches or pull requests
Hi,
I also posted about this in discord.
handleSilentRefresh
never gets the ball rolling oncheckAccessToken
.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: