Skip to content
Discussion options

You must be logged in to vote

Hi,

Hi! I was wondering what is the purpose of the logic that refreshes the auth token if we set autoRefreshToken to true?

Supabase is designed to be used by developers who doesn't want / can't have a backend for their front end.
It provides an all-in-one solution, from authentication to data storage (and now, edge functions <=> serverless api)
So, Supabase js sdk handles its own authentication logic (including refresh), client side.

Remix.run purpose is to have a full stack solution and provides some utilities like "sessionCookie" to store a user session on a secure cookie (on a secure browser place), unreadable by client side javascript
This session cookie is automatically added on re…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cusxio
Comment options

Answer selected by vedantroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants