Error connecting with yahoo openId - oauth-2.0

When i make the following request as mentioned in yahoo open id doc spec, i am getting error : Sorry! You will not be able to link your Yahoo account with this website or application. It is using an older version of the OpenID technology.
Request i am making is :
https://open.login.yahooapis.com/openid/op/auth? openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select &openid.identity=http://specs.openid.net/auth/2.0/identifier_select &openid.mode=checkid_setup &openid.ns=http://specs.openid.net/auth/2.0 &openid.realm=http://ec2-54-200-227-210.us-west-2.compute.amazonaws.com/ &openid.return_to=http://ec2-54-200-227-210.us-west-2.compute.amazonaws.com/ &openid.ns.oauth=http://specs.openid.net/extensions/oauth/1.0 &openid.oauth.consumer=consumer_key
What could be the reason ?

Related

Intermitent Yahoo Oauth2 invalid_redirect_uri

I am working on allowing users to log in to my website using Yahoo. I have intermittent problems with Yahoo Oauth2. I will generate the url to request the authorization code and it will get to the Yahoo login sometimes. Other times I will get the window with "Uh oh Looks like something went wrong. Please try again later. Developers: Please specify a valid request and submit again." and the url will have error=invalid_request&error_description=invalid+redirect+uri
My request url is configured on the yahoo console. Also I am using https on a server connected to the internet (not a local machine)
My request authorization was created using the one in https://developer.yahoo.com/sign-in-with-yahoo
I have
https://api.login.yahoo.com/oauth2/request_auth?
client_id={MY CLIENT D}
&scope=openid
&nonce=4c29ac770b9b1d795b
&prompt=consent
&response_type=code
&redirect_uri=https%3A%2F%2F{MY WEB SITE}%2Fcallback_yahoo.php
I am out of ideas at this point.
Thank you
Apparently (maybe) something was wrong on Yahoos side. I created another application with the SAME configuration and the problem seem to have gone away.

OCRGoogle API Key not successful

I have created an API key for the Google Cloud Vision, but it is still asking for the same.
I have attached a link to this post, this link consists of the error message that I have got after I ran the G1ANT Program and the credential details of my API.
Showing error dialog reading:
You must provide ApiKey or JsonCredential argument to log in to the Google Cloud Service.
Please type chrome or any web browser text after ocrgoogle.login
Followed by api [key]
Here Is a sample:-
ocrgoogle.login chrome apikey AIzaSyDyESzAAAD9r1deIrC7eP8v6IipoJXBWFQ

google action account linking Accounts failed to link

I want to account for linking google action to my web app. followed the OAuth Client Information. I have implemented
Set Up an OAuth2 Server Using Passport in Laravel( tutorial link).Where I did authentication. finally, I find my application at my home mobile app but when goes to click on MY created app it gives me account linked and after that an error "something went wrong and close" but when I open my
it gives me an error
Accounts failed to link. Please close your browser and try again
The documentation at Add authentication to your project indicates that you need to use the Authorization Code auth type instead of the Implicit flow.

Undocumented error with LinkedIn oAuth API

I have a user using my application which implements a social signin using LinkedIn oAuth API.
The error returned is:
invalid_request
and the error description is:
error retrieving consumer xxxxxxxx
Where I've shown xxx appears to be a unique LinkedIn identifier for the user.
I've had no other users report this problem, have been unable to replicate it, and Google matches nothing.
Any ideas? LinkedIn do not have an error reference document, so it's quite difficult to track down what might be going wrong.

"Error while reading message" when trying to obtain an OAuth request token

I'm trying to develop a desktop application to access an API exposed by Groundspeak for geocaching.com. The API requires the use of OAuth.
After finally figuring out why my message signature was being rejected (I had to double-encode my callback URL, after reading somewhere that double-encoding causes problems), I now receive the following error from Groundspeak when attempting to get a request token:
oauth_error_message=Error%20while%20reading%20message%20%27DotNetOpenAuth.OAuth.Messages.UnauthorizedTokenRequest%27%20parameter%20%27oauth_callback%27%20with%20value%20%27http%253A%252F%252Fwww.mysite.com%252F%27.
Not a very descriptive error message. What's the problem here? Groundspeak uses DotNetOpenAuth on its server. Seems like my callback URL might be causing some issue, but I don't have any idea what.
I should probably also say that I'm developing a desktop application, so the callback URL isn't really valid. It does point to a website I own, but that website has no idea about OAuth at all. If I omit the callback URL, I receive the error "Callback URL not present or not valid" or somesuch.
I don't know anything about Groundspeak but I'd guess that they require that you register your app's callback URL before using OAuth. At least Google and Microsoft do this with their OAuth APIs. Look for some kind of developer settings on Groundspeak.
This is definitely something that needs to be further defined in the future: OAuth for non-web applications. But there does seem to be a few possible solutions (not the cleanest) that you can try to get OAuth working within a desktop application. You can look into the articles below that have some working solutions (I have not tested this myself). It's based off of Google's workable solution for handling OAuth from installed desktop apps:
https://developers.google.com/accounts/docs/OAuthForInstalledApps
Link to possible workaround solutions:
http://blog.appharbor.com/2012/06/21/oauth-for-net-desktop-applications
Here's also a related article on SO for desktop app OAuth: OAuth for Desktop apps?
Hope this helps!

Resources