-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
cookie token expires immediately after login #411
Comments
@mihaa1 for backend cookie session is not recommended, For backend I recommend using |
Thanks. |
@mihaa1
*** access_token will only store in memory when u close browser or tab it will remove. (for security reason)
to get new access_token
|
@bright-coder thank u. |
Example in Golang SDK
` but i don't know the different between access_token and id_token. |
@bright-coder |
@lakhansamani Thank you. I think we should add this to document. ? |
Sure will add it thanks 👍 |
@lakhansamani Im using the following code to authenticate on the backend:
Is this the correct way? |
Yes |
Version: 1.1.70
Describe the bug
Hello,
I am using Authorizer instance deployed on railway.
React + express.
On production, for some reason, right after login, the token is no longer valid, and all subsequent requests fail.
My setup:
Note: I didn't get getSession() to work as described in the docs - with bearer token. I'm passing the cookie to it as below:
Response I'm getting:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: