Dumb question, but how does supabase.auth.session(...
# help
j
Dumb question, but how does supabase.auth.session() work? Does it refresh session also? How long does it "stay"? Can I call it on server side? How does it work?
n
Hello @joshcowan25! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
Auth.session just reads the session out of the client object. It does not make a call to the db. The session lasts as long as the jwt refresh token. If on a browser it will be refreshed automatically by default.
j
Perfect! Thank you!
n
Thread was archived by @joshcowan25. Anyone can send a message to unarchive it.