Testing Auth0
Starting with the diagram of all Front-end Testing:
Some Diagram Notes
- Ionic DevApp discusses that method in more detail.
- Both Emulation and actual Device allow working with Auth0 Callbacks. Browser mode via ‘ionic serve` does not.
- This page is helpful (it’s more current than what I had used when I first implemented this functionality): https://auth0.com/docs/quickstart/native/ionic3/01-login
What appears to be significant
- Setting `<preference name="AndroidLaunchMode" value="singleTask" />` appears to avoid dropping the connection when the emulator or device go off to Auth0 to do the browser stuff; connection is maintained. (iOS seemed to behave this way anyway.)
- For iOS, getting the `<allow-intent>` setup for the custom URL seemed to allow this to begin working.
- Not clear what effect the CORS whitelist has.
Specifics for Auth0 and CORS:
page revision: 6, last edited: 21 May 2019 01:13