-
Notifications
You must be signed in to change notification settings - Fork 73
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
Auth.Instance.signIn() doesn't redirect to OAuth login page in Android #300
Comments
I tried moving the android:scheme attribute as a string resource and removing ://callback at the end. Tried a bunch of other things as well. So far no luck. Appreciate any help! |
Have you added |
@mraible Thank you for checking. I am using Salesforce as identity provider instead of Auth0. Does that matter. I have added localhost to act as redirect URL already. |
I don't think the identity provider matters. Does Salesforce have an "allowed origins" or CORS setting you can configure? |
Yeah. That is configured already and a simple oauth flow using the browser redirection works without issues. When I run it from the ionic app it is not launching the initial screen |
@salesforcecodes hi, I had a similar issue. No CORS issues or errors but browser on android wouldn't open either. Turned out |
Implemented ionic-appauth package in an ionic react package. I am able to complete the sign in process in the web. But in Android it is not redirecting to the sign in screen.
Using latest ionic and capacitor version
Is this some issue with configuring AndroidManifest.xml? Here is my file
The text was updated successfully, but these errors were encountered: