iOS simulator with auth0 ionic/react

Viewed 29

Need help with implementing Auth0 with Ionic/React. I've followed this documentation, but have not had any luck with an ios simulator.

http works fine when opening the app in the browser, but if I try and run an ios simulator, it complains that "auth0-spa-js must run on a secure origin.".

​

I've tried adding the simulators host and port numbers to the allowed web origins and callback urls in the Auth0 dashboard. I've tried adding a ssl cert from charles and I've tried...


ionic cap run ios -l --external --https

which starts a server running on https but the ios simulator returns "about:blank" in the developer tools.

Has anyone had any luck with getting Auth0 to work in a simulator?

0 Answers
Related