Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikevic opened this issue May 18, 2016 · 2 comments
Open

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

mikevic opened this issue May 18, 2016 · 2 comments

Comments

@mikevic
Copy link

mikevic commented May 18, 2016

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
Copy link

Any update on this @mikevic ?

@rovitulli
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants