You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every once in a while, quite randomly, User::authenticated() starts returning true yet when I try to access any of the user properties throws exception 'UserApp\Exceptions\ServiceException' with message 'Unable to authenticate as user. Provided token does not exist.'
The only fix is to clear cache & cookies, refresh and relogin.
The text was updated successfully, but these errors were encountered:
This issue occurs when the local session thinks that it's logged in, but the remote session has expired. That is why it might occur random. I'm sorry for the inconvenience. Will start working on a fix.
The latest version that I have pushed should resolve this issue. This version also adds support for listening to client events. So my recommendation is that you listen to the event 'unauthorized', and if the user is not authorized, you can just redirect them to your login page.
There seem to be issues with User::authenticated(), possibly related to userapp-io/userapp-angular#6
Every once in a while, quite randomly, User::authenticated() starts returning true yet when I try to access any of the user properties throws
exception 'UserApp\Exceptions\ServiceException' with message 'Unable to authenticate as user. Provided token does not exist.'
The only fix is to clear cache & cookies, refresh and relogin.
The text was updated successfully, but these errors were encountered: