© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
¹²

stripe

Error fetching user from Supabase: invalid claim: missing sub claim
Has anyone found a solution to this problem 'Error fetching user from Supabase: invalid claim: missing sub claim'. My jwt token is my supabasekey and decoded it's:

{

"iss": "supabase",

"ref": "<referenceid>",

"role": "anon",

"iat": 1695967576,

"exp": 2011543576

}

I'm using otp verification on my flutter project and getting the error calling my jwt here:

const { data: user, error: userError } = await supabase.auth.api.getUser(jwt);

Any help would be greatly appreciated!
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

stripe
SupabaseSSupabase / help-and-questions
4mo ago
stripe
SupabaseSSupabase / help-and-questions
4mo ago
stripe-sync-engine & stripe connect
SupabaseSSupabase / help-and-questions
3mo ago
Stripe auth
SupabaseSSupabase / help-and-questions
2w ago