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

redirectURL doesn't work #818

Closed
HelenCris opened this issue Mar 2, 2023 · 1 comment
Closed

redirectURL doesn't work #818

HelenCris opened this issue Mar 2, 2023 · 1 comment

Comments

@HelenCris
Copy link

Issue

MY CODE:

const config = {
clientId: 'MYCLIENTID',
redirectUrl: 'myapp:/authredirect',
scopes: [''],
serviceConfiguration: {
authorizationEndpoint: 'MYAUTHLINK',
tokenEndpoint: 'MYTOKENLINK'
}
}
const result = await authorize(config);

Environment

  • Your Identity Provider: Red Hat
  • Platform that you're experiencing the issue on: Android (I didnt test on IOS)
  • Are you using Expo? No
@sakshambhatt
Copy link

sakshambhatt commented Mar 6, 2023

Are you using React Navigation's deeplinking?
If yes, then please check the NOTE, in Android setup.

When integrating with React Navigation deep linking, be sure to make this scheme (and the scheme in the config's redirectUrl) unique from the scheme defined in the deep linking intent-filter. E.g. if the scheme in your intent-filter is set to com.myapp, then update the above scheme/redirectUrl to be com.myapp.auth #494 (comment).

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

No branches or pull requests

3 participants