AppAuth on Android not handling redirect correctly

Hello everyone, I’m having a problem using Expo’s AppAuth module under Android.

Usage under iOS works great. User is taken to the identity provider inside modal Safari and upon completing authorisation is taken back to the app, which receives the necessary login details.

On Android the flow is slightly different in that starting login seems to take you to a new app, however this seems to be a version of chrome that is scoped to my app(presumably just for this auth session) so may just be expected. Upon completing authorisation the user is redirected back into the app successfully however the app never processes the redirect and consequently just sits at my login screen indefinitely.

Using Linking.addEventListener I can confirm that my app is receiving the redirect url with the necessary auth details however AppAuth doesn’t seem to recognise this and I cannot find documentation for how to manually configure the redirect handler.

Thanks.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.