supabase-go icon indicating copy to clipboard operation
supabase-go copied to clipboard

JWT Token expired Issue

Open joaojhgs opened this issue 9 months ago • 2 comments

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: image

joaojhgs avatar Sep 18 '23 17:09 joaojhgs