# Auth driver \[auth0\] for guard \[auth0\] is not defined

**URL:** <https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921>\
**Category:** Get Help\
**Tags:** auth0-php, laravel, auth0, login\
**Created:** [March 31, 2022, 6:42pm UTC](https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921 "2022-03-31T18:42:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter20](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter20/32/12872_2.png) [@peter20](https://community.auth0.com/u/peter20)\
**Post date:** [March 31, 2022, 6:42pm UTC](https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921/1 "2022-03-31T18:42:41Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![peter20](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter20/32/12872_2.png) [@peter20](https://community.auth0.com/u/peter20)\
**Post date:** [April 4, 2022, 4:45pm UTC](https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921/2 "2022-04-04T16:45:38Z")

</div>

I think the issue may have been caused by disk space issues on the container preventing artisan vendor:publish from working. seems to be resolved.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 28, 2022, 11:20am UTC](https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921/3 "2022-04-28T11:20:00Z")

</div>

Perfect! Thanks for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 28, 2022, 11:20am UTC](https://community.auth0.com/t/auth-driver-auth0-for-guard-auth0-is-not-defined/80921/4 "2022-04-28T11:20:05Z")

</div>


