SupabaseS
Supabase•3y ago
ants

Supabase OAuth (Slack) throws "invalid claim: missing sub claim"

I get a 500 after calling
const { data, error } = await supabase.auth.signInWithOAuth({
  provider: 'slack',
  options: {
    redirectTo: `https://${location.host}/auth/callback`,
  },
})


Supabase also redirects back to /login and not to my redirectTo path 🤔 The redirectTo is defined in my Authentication config correctly.
Was this page helpful?