Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot authenticate with Yahoo OAuth

Tags:

yahoo-oauth

I'm trying to authorize with Yahoo using a link like this:

https://api.login.yahoo.com/oauth2/request_auth?client_id=dj0yJmk9ZHNUWExxZmhHckFDJmQ9WVdrOVdsQmtNa3BKTlRZbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD03MA--&redirect_uri=https%3A%2F%2Flastlink.com%2Fauthorize&response_type=code

However it responds with:

Please check the redirect URI in your request and submit again

I tried to search for this topic on ydn forums but they seems to be broken.

like image 939
lestrade Avatar asked May 22 '26 15:05

lestrade


1 Answers

The domain of the redirect_uri has to be the same as the callback domain for the YDN App.

I can get a code using redirect_uri=oob:

https://api.login.yahoo.com/oauth2/request_auth?client_id=dj0yJmk9ZHNUWExxZmhHckFDJmQ9WVdrOVdsQmtNa3BKTlRZbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD03MA--&redirect_uri=oob&response_type=code

like image 199
user8363600 Avatar answered May 25 '26 19:05

user8363600