mardi 30 mai 2017

How to Update JWT token from response header in ember-simple-auth session

I am using ember-simple-auth & ember-simple-auth-token to maintain session on Ember. I do not want to use the refresh-token approach, instead would like to receive a new jwt token in the response header from every service request.

how can i keep my session alive by updating the jwt token in the session every time I receive a response from the server?




Aucun commentaire:

Enregistrer un commentaire