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 doesn't work + solution #38

Open
vinceoralim opened this issue May 29, 2023 · 0 comments
Open

Redirect doesn't work + solution #38

vinceoralim opened this issue May 29, 2023 · 0 comments

Comments

@vinceoralim
Copy link

Hi all,

In my environnement (cordova 12.0.0 / lib 10.1.0 / android 10.1.2 / ios 6.1.1), targeting Google OAuth, the plugin :

  • works for create a browser tab compliant with OAuth
  • doesn't work for redirect OAuth provider response to the app (either on Android or iOS)

The nocode solution, I've found :

Attention :

  • declare the same --variable URL_SCHEME=mycoolapp during installation of the 2 plugins
  • as mentioned in the doc, declare a handleOpenURL() function, convenient way : https://stackoverflow.com/a/40708629

Cool side effect : the app can also be launch/open as intended by Custom-URL-scheme plugin

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

No branches or pull requests

1 participant