ionic-team / custom-auth-examples

MIT License
18 stars 17 forks source link

blank page with response #4

Closed alejandrogkl closed 8 years ago

alejandrogkl commented 8 years ago

Using the express examples i was able to register the user in Ionic but i am dont getting the response as success/fault in my application , the respose get printed in a blank page , the one that use the in app browser plugin

ericb commented 8 years ago

Have you taken out the redirect_uri as shown in the example code?

alejandrogkl commented 8 years ago

I really appreciate your response

After removing the redirect_uri i am getting the success responses in my app but not the fault ones

return res.status(401).send('auth error');

result in a blank page with "auth error" text

ericb commented 8 years ago

Ah okay, yeah we've gotten some complaints around that and will be addressing it in the next Auth update. This is related to https://github.com/driftyco/ionic-platform-web-client/issues/86