© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
22 replies
uzelac

How to handle JWT Expiring

I'm currently working on a react native application and I sometimes keep it open for long period on one screen, but whenever I click to a new screen and a request is made to supabase I get a 401 from the request along with "JWT Expired" message. How should I properly handle the JWT for long app sessions where people typically dont log in / out all the time.

Reviving this issue: https://github.com/supabase/supabase/discussions/889
GitHub
How do I handle a JWT expiring · Discussion #889 · supabase/supabase
I'm currently working on a SPA and I sometimes keep it open for long period on one screen, but whenever I click to a new screen and a request is made to supabase I get a 401 from the reques...
How do I handle a JWT expiring · Discussion #889 · supabase/supabase
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

HOW TO USE JWT SECRET
SupabaseSSupabase / help-and-questions
5mo ago
How to generate JWT_SECRET?
SupabaseSSupabase / help-and-questions
4y ago
How to handle unregistered users?
SupabaseSSupabase / help-and-questions
4mo ago
How to reset password with JWT
SupabaseSSupabase / help-and-questions
4y ago