Window is not closing after successful login. I have used the sample code from the repository.
PingFederateExpoKit?ExpoKitI have already gone through the https://github.com/FormidableLabs/react-native-app-auth/issues/219 but that not help me
Hi - not redirecting back to the app is definitely an issue with the redirect uri. Can you check that the uri you specified in the config and in PingFederate and in android/app/build.gradle is the same.
The issue were related to redirect uri only:
In my case config have redirectUrl: 'x-cmpname-apname://oauth2/authorize'
and when I apply "x-cmpname-apname" instead of 'x-cmpname-apname://oauth2/authorize' into android/app/build.gradle it started working.
manifestPlaceholders = [
appAuthRedirectScheme: "x-cmpname-apname"
]
Most helpful comment
The issue were related to redirect uri only:
In my case config have redirectUrl: 'x-cmpname-apname://oauth2/authorize'
and when I apply "x-cmpname-apname" instead of 'x-cmpname-apname://oauth2/authorize' into android/app/build.gradle it started working.