I'm having problems using ng-token-auth with dev-token-auth. Entrance, registration and checkout work well. But when I refresh the page during user login, the $ rootscope.user object is updated with the value of the previously signed user.
When I clear cookies after each exit, everything works fine. Auth_headers are updated with every character in / page refresh.
config.change_headers_on_each_request is also set to true in devise_token_auth.rb.
source
share