We recently moved from using getUser to getClaims and that all seemed to work..until we noticed that after some time has passed, getClaims starts to return null for both data and error. My gut tells me that the JWT has expired...but my understanding is the library will automatically handle updating the JWT.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.