Skip to content
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

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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