Replies: 2 comments 2 replies
-
|
Just to update this thread, the refresh token doesn't work at all with the current implementation of the Auth component. After an hour, I will get a 401 error on all my server side actions. I need to logout/login again, even a refresh of the page not working. Do you handle the refresh of the access token? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I think this is achieved in Firebase with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using the auth system with SSR and I took the example from here: https://github.com/supabase/supabase/blob/master/examples/nextjs-with-supabase-auth/pages/profile.js
But I have an issue when the access token is expired. There is no way to use the refresh token because it's not in the cookie and we can't retrieve it with localstorage (SSR).
Am I missing something or the refresh token should be in the cookie created by 'auth.api.setAuthCookie'?
Beta Was this translation helpful? Give feedback.
All reactions