-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Redirect URI #4
Comments
The issue is that you must have ssl certificate in order to authenticate. Now, Coinbase only allow https. Cheers From my iPad
|
You would only use https if you are creating a website, not a mobile/desktop app. |
@sirnacnud is correct. the library now supports this redirect url exclusively, and the example application has been updated to use it. |
When trying to use the authentication aspect of the library, coinbase says the supplied redirect URI is invalid. If you try to login with the sample application, you will see this error. After reading over the coinbase API documentation, it says for mobile/desktop apps, a redirect URI of urn:ietf:wg:oauth:2.0:oob should be used. I'm guessing the API has changed since the creation this library. I modified the library to use this redirect URI and I am able to authenticate with coinbase, but then the redirect from safari back to the example app is broken. I guessing instead of launching safari, you have to use a UIWebView in the example application and detect when the page changes to get the auth code.
http://coinbase.com/docs/api/authentication#oauth2
The text was updated successfully, but these errors were encountered: