Reputation: 61
I have implemented the package "react-native-login-keycloak" for react native app. But when I tried to login with the keycloak, it returns an error "Unexpected error when handling authentication request to identity provider". I think its because of the invalid redirect uri. So, where do I get my app uri/redirect uri for the react native app. Any helps appreciated. Thanks.
Upvotes: 3
Views: 1526
Reputation: 101
@Rahul, Trying to Answer. Are you looking for the callback url to be exposed from App to return back after Authentication flow or after token flow.
REDIRECT_URI_SCHEME For Inter-App like Browser of Mobile app to talk to your application
YOUR_APP_NAME
://oauth2/redirect , where YOUR_APP_NAMe could com.orgname.demoapp [ demo is for example]YOUR_APP_NAME
://oauth2/redirectPlease check below Links Some relevant post on the same Different URI Schemes
Upvotes: 0