Open salesforcecodes opened 11 months ago
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!
<data android:scheme="@string/custom_url_scheme" />
Have you added https://localhost
as a Allowed Origins (CORS) on Auth0? This is required for Android.
@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 capacitor-secure-storage-plugin
wasn't installed which is in the Vue demo. I suggest comparing all installed packages to one of the examples
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