When we attempt to integrate Auth0 with our Swoole/Laravel application we get an error:
InvalidArgumentException
Auth driver [auth0] for guard [auth0] is not defined.
Thrown from Illuminate/Auth/AuthManager.php:97
laravel/framework 8.83
auth0/auth0-php 8.1.0
auth0/login 7.0.0
swooletw/laravel-swoole 2.12.1
lcobucci/jwt 3.4.6
We have resetters in swoole_http – but the errors occure even when we comment out all of the resetters. And we have tried adding Auth0/Laravel/ServiceProvider::class in several config locations:
“app.providers”
“swoole_http.providers”
“swoole_http.boot_providers”
Do we have some kind of conflict in our dependencies?
Does anyone have experience resolving this issue?