Correct redirecturi for Ionic1 custom login form

  angularAuth0Provider.init({
    clientID: 'myclientid',
    domain: 'mydomain.auth0.com',
    responseType: 'token id_token',
    redirectUri: location.href,
});

I am seeking the correct redirecturi for my Ionic1 custom login form.

The above code works in my dev (browser based) environment, but not in Ionic View or the compile Android App.

Any ideas here folks?

My fix for the problem was to go to using Lock as per Auth0 Ionic & Capacitor (Angular) SDK Quickstarts: Login

So yeah, problem not fixed, but at least I can log in half decently.