I'm developing an Ember.js application. I already have a web api with ASP.Identity as membership and identity management framework which implemented authentication and authorization. I want to use this authentication mechansism in my Ember application. My plan is like this, after successful login identity will return a token. After that, for each api call I have to pass this token with header. Is this is a best practice? Or is there a good way to handle this scenario? Any link or suggestion will be helpful.
I found articles related to integrate Ember Simple Auth plug-in to Ember application to handle authentication and authorization. Since I already implemented authentication in web api it would be an extra work. Please suggest.
Aucun commentaire:
Enregistrer un commentaire