We are currently developing the integration of Keycloak within our native mobile applications. In the documentation we can see a section regarding Cordova apps, but not native. Is it properly supported ?
Saying that, we are able to login with an already registered user without a problem ; the problem comes with Registration workflow and especially Email Validation. To make it work, we are using custom scheme for redirectURI but we are not able to do it for baseURL and rootURL (Invalid URL error in the admin console). Why is that ?
Regarding the email validation:
When the user clicks on the email validation link from his mobile and he uses the same browser than the mobile app ; everything works fine. How does it work by the way ? The redirect uri doesn’t seem to be propagated on the validation link?
However, if he uses a different browser or validates his account from another device, on the app, the user is blocked on the “validate your email” page; and if he does refresh the page, there isn’t the “back to application” link (probably because baseURL is not set).
How is it supposed to work ?
Thanks for your advice.