I have the InAppBrowser and all auth0 files installed successfully. I have all my client ID and domains etc correctly entered in.
When I click the login button I am taken off to the hosted login page, my login is remembered so I click my email address and this is where I get the error. The InAppBrowser reports “web page not available https://matchday-app.eu.auth0.com/login/callback? [letters and numbers presumably the access token] could not be loaded net::err_unsafe_redirect.”
The weird thing is Phonegap runs on the desktop and mobile and the desktop one logs in perfectly with no problems.
The Auth0 logs show a sucessful login too (from the phone) so I think it’s just the redirect (callback?) after login which isn’t working, but I have no idea why.
I have scoured the internet for others with this problem and come up with nothing so I would greatly appreciate any help, feedback, suggestions.
Please let me know if there’s any further information required.
Thanks in advance.
Code can be found here: https://github.com/ellis-sutehall/matchday
Allowed callbacks: file:///android_asset/www/index.html, file:///data/user/0/com.adobe.phonegap.app/files/phonegapdevapp/www/index.html#, https://matchday-app.eu.auth0.com/mobile, http://192.168.0.204:3000/#