cloudspace / angular_devise

A small AngularJS Service to interact with Devise Authentication.
MIT License
401 stars 74 forks source link

App authenticates the user only after the first api request #106

Open mikevic opened 8 years ago

mikevic commented 8 years ago

The app authenticates the user only after the first api request to the server that authenticates. The user has already signed in. So, when the user closes the browser window and reopens the app, the user is not authenticated i.e, Auth.isAuthenticated() returns false. However, after the first api request to the rails server that uses Devise, Auth.isAuthenticated() returns true. The api request can be any api request.

trevor-ryan-burkholder commented 8 years ago

Any update on this @mikevic ?

rovitulli commented 8 years ago

+1