laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.29k stars 780 forks source link

Consistently retrieve client uuids value from Passport #1711

Closed rojtjo closed 10 months ago

rojtjo commented 10 months ago

I noticed while developing an internal package where I pre-configure Passport from the boot method of a service provider that there were some inconsistencies.

In some places config('passport.client_uuids') is used while in other places Passport::clientUuids() is used.

Because I only used Passport::setClientUuids(true) this resulted in an error due to the uuid not being set in the creating event.