[Answered ]-Ember Simple Auth Logout Action with Django Backend

2👍

ember-simple-auth-token’s authenticators don’t implement the invalidate method that called upon session invalidation and can be used to send a request to the backend to invalidate the token. Without that method being implemented Ember Simple Auth simply deletes the token on the client side.

You should be able to extend the ember-simple-auth-token authenticator you’re using and implement the invalidate method so that it sends a token invalidation request to the backend. Be sure to return a promise though.

Leave a comment