Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get Yahoo OAuth to work when I develop locally when my local domain is not registered with Yahoo?

I'm working on an app that uses Yahoo OAuth. The OAuth had been working fine but I just registered my domain with Yahoo and now it will not let me use the OAuth when I develop locally because "Custom port is not allowed or the host is not registered with this consumer key."

The issue is because my call back URL is to a domain that is not registered with Yahoo (http://localhost:8080/welcome).

I'm not sure what to do. I'm also new to development so if you could be specific with suggestions that would be awesome! Any help is greatly appreciated.

like image 690
Andrew Avatar asked Sep 02 '10 01:09

Andrew


People also ask

Does Yahoo Mail require OAuth?

Yahoo Oauth support in Mailbird – Mailbird. Yahoo is trying to increase security with their email client, that is why it will soon be mandatory for users to use Oauth to connect to Yahoo Mail if they are using an email client. Before that happen, Mailbird anticipated this by supporting Yahoo oAuth.

How do I get my Yahoo API key?

Yahoo API Steps:In the 1st field ("Yahoo API"), if you have a Yahoo account already, enter your account name, otherwise create a new account. 3. Where asked to select a radio button for "Authentication method", select "Generic, No user authentication required" and proceed futher - you'll manage to get your API key.

What is Yahoo OpenID and OAuth?

OpenID Connect is an authentication mechanism built on top of OAuth 2.0. Web, mobile, and JavaScript Clients can use OpenID Connect to verify the identity and obtain basic profile information of users.

What is JWT on Yahoo Mail?

The Yahoo Ad Platform uses OAuth2 and a JSON Web Token (JWT) to authenticate users and allow easy and secure access to protected services. Use your provisioned OAuth 2.0 credentials and follow the steps below to generate the JWT that is required to sign requests to our API.


2 Answers

Hiii... yahoo works on localhost :).. what you have to do is while registering for a yahoo consumer key and secret key, the registration page asks you what type of application is yours. I guess it gives you two options , website and the oder one as stand alone app. Choose stand alone app as in your case. Then it will give you a pair of keys, and it will work on localhost :). Enjoy!

like image 176
Vignesh Iyer Avatar answered Sep 28 '22 02:09

Vignesh Iyer


It looks like Yahoo! doesn't want you to do this. Some answers from similar questions might be helpful (or not):

  • How do I develop against OAuth locally?
  • 401 Unauthorized using Yahoo OAuth
  • Yahoo OAuth question

EDIT: more evidence Yahoo! doesn't support this: http://developer.yahoo.net/forum/?showtopic=6496&cookiecheckonly=1

like image 45
3 revs Avatar answered Sep 28 '22 02:09

3 revs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!