Open Hanmo123 opened 1 month ago
isAuthenticated
is true if a sign-in state exists locally. For accurate results, communicate with the remote server (Logto) by calling getAccessToken
or fetching the user information.
It's a little counterintuitive, maybe it can be improved.
Describe the bug
I am using @logto/vue and my session is expired(the response of logto is 400), but the return value of logto.isAuthenticated is still true
Expected behavior
It should be false.
How to reproduce?
Just wait for session to be expired.
Context
Screenshots