-
Notifications
You must be signed in to change notification settings - Fork 0
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
JWT Token expires fast, and new one is not provided #50
Comments
semirteskeredzic
changed the title
JWT Token expires too fast
JWT Token expires fast, and new one is not provided
May 15, 2024
After going through the API documentation, I've figured out that I've been using wrong jwt. The correct one is: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the token in the Authorization header when sending request to my API endpoint.
Here is how I'm fetching data with async function and using lastActiveToken from clerk.session:
This token expires really fast while the app is running (cca 1 minute) and it doesn't get any new one.
When I print the session the exp of the session is expiring a couple of days from now (printed on 2024-05-15):
On my server I am logging returned JSON object from response:
The text was updated successfully, but these errors were encountered: