bug: Logto getContext Fetches New Access Token on Every Request Instead of Using Session Storage #921
Closed
1 of 4 tasks
Labels
bug
Something isn't working
Describe the bug
I'm encountering an issue where calling getAccessToken seems to generate a new access token every time I make a request to a protected route.
Expected behavior
createCookieSessionStorage should persist the token and only refresh it when it expires.
How to reproduce?
Setup a Remix App with Logto
Ensure you have Logto installed and configured correctly.
Define Session Storage and Logto Client
Context
Screenshots
The text was updated successfully, but these errors were encountered: