Twitter (X) Login is broken if user does not have an email in their account

Hello,

Using auth-ui package from Supabase. Trying to log into an account without an email (yep, that's apparently possible) and that throws an error.

Redirect URL contains the error:
https://login.upstreet.ai/logintool?error=server_error&error_code=500&error_description=Error+getting+user+email+from+external+provider&redirect_redirect_url=aHR0cHM6Ly9jaGF0LnVwc3RyZWV0LmFpL2xvZ2luP3JlZmVycmVyX3VybD1odHRwcyUzQSUyRiUyRmNoYXQudXBzdHJlZXQuYWklMkY%3D#error=server_error&error_code=500&error_description=Error+getting+user+email+from+external+provider


It seems like emailless Twitter/X accounts don't work, even though it technically should.
image.png
Was this page helpful?