ionic-team / custom-auth-examples

MIT License
18 stars 17 forks source link

custom auth #6

Closed alejandrogkl closed 8 years ago

alejandrogkl commented 8 years ago

How can i receive a token (or some data) in the success method of the custom auth process, i receive just the user.

My app consume an api that requiere that token in each request as an authorization header

Maybe i am not undestanding the concept but i dont like the idea of make another request to create/receive/store that token in the localStorage.

imhoffd commented 8 years ago

Good idea! I made an issue for this, which you can track here: https://github.com/driftyco/ionic-platform-issues/issues/95