laravel / passport

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

Consistently retrieve client uuids value from Passport #1711

Closed rojtjo closed 5 months ago

rojtjo commented 5 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.