-
Notifications
You must be signed in to change notification settings - Fork 179
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
Authentication user provider [doctrine] is not defined. #615
Comments
Testing with 3.0 the config:cache works. Are you using this functionality: https://laraveldoctrine.org/docs/1.8/orm/auth ? Is there more configuration you're not listing here? |
I put together a 2.0 version with your version of Laravel and can't reproduce. I really think you've got configuration somewhere that you haven't listed here. |
Hi @TomHAnderson , I see that in the above link that you sent above that the structure for driver and model is different from my. should this make the difference? also I do not have created the AuthServiceProvider as Laravel mention in the Documentation. This as been working for a while like this until this week I have migrated from php8.1 to php8.2 without major migrations. This is my src/config/auth.php `<?php use ...\Core\Entities\User as UserEntity; return [
];` and the user entity src/src/Api/Core/Entities/User.php: `use Ramsey\Uuid\Uuid;
|
Thanks @vincent-eleanor-wine . I'm new to administering this project so please work with me to figure this out. I think duplicating this is key to fixing it. And I think creating a new project that duplicates this bug is the best course of action. Is that something you can do? |
This is where the |
laravel-doctrine/orm version & Laravel version
laravel-doctrine/orm -> 2.1.0
Laravel Framework 10.48.22
Expected behaviour
the cache was success cached
Actual behaviour
is throwing an error: In CreatesUserProviders.php line 39:
Authentication user provider [doctrine] is not defined.
Steps to reproduce
php8.2 artisan config:cache
The text was updated successfully, but these errors were encountered: