-
Notifications
You must be signed in to change notification settings - Fork 252
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
Android Redirection on HTTPS callback scheme #505
Comments
i have this same issue |
Same issue with this extra error android\app\src\debug\AndroidManifest.xml Error: android\app\src\debug\AndroidManifest.xml Error: |
When you are using a custom Https scheme, does your page have a valid https://developer.android.com/training/app-links/verify-android-applinks?hl=de |
Do you have defined manifestPlaceholders in your build.gradle for your flavor(s)? Like described here: |
Thanks for responding, i have fixed my issue it was because android wasn't enabling the open by default on url if the app is in debug mode. |
My redirect URI is an Azure B2C link that is an https scheme, upon a successful login, I do not seem to redirect back to the main client. This was working a few weeks ago, but when I went to reload it and test it a few days ago, it would simply not redirect back...
I know all my links are correct (redirectUri, authEndpoint,tokenEndpoint, discoveryURL, clientID etc) when utilizing AuthorizeAndExchangeCode... which means the issue must be either my build.gradle or my AndroidManifest.xml from what I understand.
My AndroidManifest has added a new activity of net.openid.appauth.RedirectUriRecieverActivity with an intent filter that contains VIEW, DEFAULT, BROWSER, and the following:
<data android:scheme="https"
android:host="<your_custom_host>
android:path= "<ending_path>"/>
and my build.gradle has the manifest placeholder of
'appAuthRedirectScheme' = 'https',
'appAuthRedirectHost' = '<your_custom_host>',
'appAuthRedirectPath' = '<ending_path>'
The text was updated successfully, but these errors were encountered: