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.
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.