Auth0 ionic 2+ SDK does not work in ionic 3 iOS

I have discovered the issue. In iPhone it is redirecting to http://localhost:8080 which is not accessible from iPhone. I have discovered it from Auth0 Log. Now I have added Http://localhost:8080 in CORS allowed URL. And after that, it is working in iPhone simulator. But still not working in iPhone.