Hello, did anyone manage to sign in with a 3rd par...
# help
t
Hello, did anyone manage to sign in with a 3rd party (e.g. Twitter) and then use the
provider_token
to make request to the 3rd party API in the name of the authenticated user? When I try to do so, Twitter keeps throwing this error:
Authenticating with OAuth 2.0 Application-Only is forbidden for this endpoint.  Supported authentication types are [OAuth 1.0a User Context, OAuth 2.0 User Context].
@User is that a known issue of
provider_token
with Twitter API?
j
I think it might be because Twitter in Supabase Auth (GoTrue) needs updating to 0Auth2.0
https://github.com/supabase/supabase/discussions/2270 looks like our twitter docs might be out of date since twitter updated their developer portal
(for anyone else following this, there's some discussion opened by Timon here https://github.com/supabase/supabase/discussions/2961)
t
@User thank you for confirming what I thought. What would you recommend doing? Creating my own sign-in flow sounds like quite a hassle to make it work seamlessly with Supabase client.
j
I'll ping the Auth team internally to check out the discussion above
t
Great thank you, this is currently a major blocker that may lead many customers to other services than Supabase unfortunately.
Not being able to query Twitter after the oAuth sign-in makes it practically useless kind of.
x
DId you finally make it? I tried with Oauth2 but it seems to be the same
@User Yes, I'm about to switch to a regular Postgre :/