Custom Auth problem: auth.ionic.io’s server DNS address could not be found


#1

Have been trying to experiment with the Ionic’s auth feature. Have redirected to ‘https://api.ionic.io/auth/integrations/custom’ with the state and tokens as described in the docs - this part is working as I can trigger error messages if I remove the state or token parameters - but when it redirects from here it throws up the server not found message.

Is there a problem, or am I missing something?


#2

auth.ionic.io is a fake URL used to be intercepted at the end of the authentication worflow. This URL does not exist. Its only purpose is to mark the end of the login process in order to close the inAppBrowser and get back to the current ionic app.
You can see the whole process described on this ionic issue : https://github.com/driftyco/ionic-platform-web-client/issues/86