Auth0 Home Blog Docs

Navigation is unreachable error

login
error
logincallback
redirection

#1

I am developing a mobile app with Ionic 3 and trying to integrate Auth0 login.
I followed all the required steps. Now I can see Auth0 login page.
But when I click on Sign in with google, the loading indicator keeps spinning and the page does not redirect.
I get the following warning on console:

Navigation is unreachable: io.ionic.starter://mtouch.auth0.com/cordova/io.ionic.starter/callback?code=DEGESHiVGfQT_g9S&state=30dU9lwY3WpeD0UxUtoasFjV8ejdcMW9ksJcLyh2F_c#


#2

I am stuck with the same problem in a cordova app.


#3

I am experiencing the same issue with an Ionic App…


#4

I managed to redirect back to my app. The problem was that my package ID was TSMengine and the navigation address was com.tut.TSMengine://arsalantest.eu.auth0.com/cordova/com.tut.TSMengine/callback but I got the error navigation unreachable com.tut.tsmengine://arsalantest.eu.auth0.com/cordova/com.tut.TSMengine/callback?.....
It was without any reason turned to lower case. I set up a new client with all lower case alphabets and it redirects back to the app but now another problem is that I do not get the token. I land up in this function on return. My dashboard shows that the login was successful.

if (result.event === 'closed') {
        var handleClose = function () {
          if (session.isClosing) {
            session.clean();
            return callback(new Error('user canceled'));
          }
        };

#5

I found the issue in my case: I forgot to remove some Brackets ({, }) around my App ID when I was adding cordova-plugin-customurlsheme.


#6