auth0-samples / auth0-ionic2-samples

MIT License
28 stars 56 forks source link

window.safariViewController #27

Open lukazlatecan opened 7 years ago

lukazlatecan commented 7 years ago

I try to run your project but i got following error:

screen shot 2017-06-29 at 12 58 25
chenkie commented 7 years ago

Please make sure the necessary plugins are installed. It looks like the SafariViewController plugin is missing. Steps in the readme.

Also please note that the sample won't run in the browser and must be emulated or run on a real device.

lukazlatecan commented 7 years ago

It was problem with the plugin yes. Thank you, it is now working on phone. I am wondering how is it possible to make it work in browser?

chenkie commented 7 years ago

Unfortunately it won't work in the browser. It's an implication of how auth is handled with the auth0-cordova package. It relies on an actual device (or emulated device) to do its thing.