Skip to content

redirect uri should be RuName, not a url.#4

Open
soenkegissel wants to merge 4 commits intoeBay:masterfrom
soenkegissel:master
Open

redirect uri should be RuName, not a url.#4
soenkegissel wants to merge 4 commits intoeBay:masterfrom
soenkegissel:master

Conversation

@soenkegissel
Copy link

In AuthorizationLink.kt some unfulfillable checks leave the user no choice but to enter invalid information.
For redirect uri the RuName should be enterned (eg. Davy_Developer-DavyDeve-DavysT-euiukxwt) not https://my-accept-url.
You can get more information here (https://developer.ebay.com/api-docs/static/oauth-consent-request.html):
image
You checks for uri begin with https:// is unfulfillable. As well as the check if redirect uri equals the informations entered in AndroidManifest.xml.

Later on when I exchange the authorization code for a User access token I enter redirect uri as RuName as well (https://developer.ebay.com/api-docs/static/oauth-auth-code-grant-request.html):
image

@soenkegissel
Copy link
Author

Added the fully qualified package name to AndroidManifest to be usable when importing as a library. Before it was ClassNotFound exception as it was looked for in com.myapp.oauth2.ui.OAuthRedirectActivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant