We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a session times out, I'm getting the error below:
Fatal error: Uncaught exception 'UserApp\Exceptions\ServiceException' with message 'Unable to authenticate as user. Provided token does not exist.' in /vendor/userapp/userapp/lib/UserApp/Client.php:97 Stack trace: #0 /vendor/userapp/userapp/lib/UserApp/ClientProxy.php(47): UserApp\Client->call(1, 'user', 'get', Array) #1 /vendor/userapp/widget/lib/UserApp/Widget/User.php(123): UserApp\ClientProxy->__call('get', Array) #2 /vendor/userapp/widget/lib/UserApp/Widget/User.php(123): UserApp\ClientProxy->get() #3 /vendor/userapp/widget/lib/UserApp/Widget/User.php(31): UserApp\Widget\User->load() #4 /inc/header.php(11): UserApp\Widget\User->__get('first_name') #5 /app/index.php(2): require_once('/app/...') #6 {main} thrown in /vendor/userapp/userapp/lib/UserApp/Client.php on line 97
It seems that there is some issues related to tokens expiring but checks for authentication still returning true. Possibly related:
#1
I am using the suggested code from the post above:
User::onUnauthorized(function($sender, $call_context, $error){ header("Location: /login.php"); die(); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a session times out, I'm getting the error below:
It seems that there is some issues related to tokens expiring but checks for authentication still returning true. Possibly related:
#1
I am using the suggested code from the post above:
The text was updated successfully, but these errors were encountered: