Hello,
I am develop a Web app using PhoneGap Build and would like to implement Oauth authentication.
My app is a single-page application that gets loaded entirely when the app launches.
From that point on, all the interaction is done via JavaScript and various divs in the page get displayed or hidden to reveal or hide content.
My question is how should the redirect URL be set in such scenario?
When my app loads, the value I get when logging window.location.hostname,is an empty string.
I am not sure what host I should set in the redirect URL for this to even work.
It's not even localhost which is one of the default authorized domains.
I wonder if I should be using this plugin to control the return to my app:
On the Firebase documentation page, it says to enable Dynamic Links.
However, when I go to that section in the console, it seems that this is only available for native iOS and Android apps...
Am I handling this all wrong?
Thanks,
Nir