supabase-go
supabase-go copied to clipboard
JWT Token expired Issue
When using the client.Auth.User() function, if the JWT token is expired, the returned error is initialized but without the internal Error() function, meaning the error is not nil and there's no message.
I had to verify the value returned variable for error handling instead: