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

feat: add Laravel Queues support #455

Open
1 task done
ngreb opened this issue May 6, 2024 · 1 comment
Open
1 task done

feat: add Laravel Queues support #455

ngreb opened this issue May 6, 2024 · 1 comment
Labels
Scope: Improvement Proposed improvements, or feature additions.

Comments

@ngreb
Copy link

ngreb commented May 6, 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.

@evansims
Copy link
Member

evansims commented Jun 4, 2024

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 evansims added the Scope: Improvement Proposed improvements, or feature additions. label Jun 4, 2024
@evansims 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 evansims changed the title Laravel Queues support (401: Expired token received for JSON Web Token validation) feat: add Laravel Queues support Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Improvement Proposed improvements, or feature additions.
Projects
None yet
Development

No branches or pull requests

2 participants