Single Page - Javascript - Phonegap Build - Redirect uri

Hello to everyone,

I am trying to implement Auth0 login as Single Page app quickstart guides. My app is in Javascript which I want to convert to hybrid app with Phonegap Build. The Quickstart guide sets that redirectUri parameter must be window.location.href but I can’t enter this value in Allowed Callback URLs in the Application settings since it is not a valid uri. I can’t enter file:// url location of my page to redirect since it produces an error (it’s not http or https).

What is the proper way to set redirectUri for a Single Page app written in Javascript and build into a mobile application with Phonegap Build?

I would appreciate anyone’s advice on the matter.

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?