Hello all. I'm having some issues with getting my ...
# help
b
Hello all. I'm having some issues with getting my twitter authentication working. The user can see my app listed in their profile as having access, but supabase provides the following error on redirect:
?error=server_error&error_description=Error+getting+user+email+from+external+provider
Here are my settings in twitters dev portal:
Here is the tutorial I am following:
t
I noticed you are trying locally. I'm not sure if mine has ever worked locally. Only when I deployed. I also see the following when using it local.
Copy code
sh
  [10:20:51] 200 ─ 0.67ms ─ /?error=server_error&error_description=Request+token+doesn%27t+match+token+in+callback
  [10:21:59] 200 ─ 2.80ms ─ /
To fix it locally I need to set the
HOST=127.0.0.1
as twitter doesn't like localhost
Copy code
sh
HOST=127.0.0.1 npm run start
I also had to add the following Authentication -> Configuration -> Settings -> Additional Redirect URLs -> http://127.0.0.1:5000/
b
Thank you for this info. I also deployed this to vercel and this is still happening.
g
This is happening for me also
m
has anyone resolved it?
it's happening to me as well
Apparently, twitter API won't let you read email if you have only got standard access. You need elevated access for supabase auth to work.
so upgrade your account to elevated.