getClaims returning null
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.
This is on a React Native app and we followed these guidelines - https://supabase.com/docs/guides/auth/quickstarts/react-native.
Looking for any suggestions on how to debug this.
1 Reply
I should clarify that getClaims does initially return values expected and for some time period (maybe 24 hours?).