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
I'm using auth0 management API in a project. Everything works fine if the API is called synchronously. But when it is used through laravel queue (jobs), then some time after the worker starts, it begins to constantly return a 401 error “Expired token received for JSON Web Token validation”. All settings in the auth0 config have default values.
The text was updated successfully, but these errors were encountered:
Hey @ngreb 👋 Thanks for reporting this! You bring up a great point: this library was not built with or ever tested with Queues in mind, so I'm not surprised that we might be hitting some challenges there.
We'll look into adding support as soon as we can, but in the meantime, if anyone wants to investigate the issue and provide a pull request adding support (and, critically, unit tests!) around this, it would be most welcome
evansims
changed the title
401: Expired token received for JSON Web Token validation
Laravel Queues support (401: Expired token received for JSON Web Token validation)
Jun 4, 2024
evansims
changed the title
Laravel Queues support (401: Expired token received for JSON Web Token validation)
feat: add Laravel Queues support
Jun 4, 2024
Checklist
Description
Laravel Version
10
SDK Version
7.12.0
PHP Version
PHP 8.2
I'm using auth0 management API in a project. Everything works fine if the API is called synchronously. But when it is used through laravel queue (jobs), then some time after the worker starts, it begins to constantly return a 401 error “Expired token received for JSON Web Token validation”. All settings in the auth0 config have default values.
The text was updated successfully, but these errors were encountered: