passport
passport copied to clipboard
Laravel Passport provides OAuth2 server support to Laravel.
According to #1571, This PP also binds `StatefulGaurd` to the default auth guard (same as before using `auth` middleware on the route). The same approach is already used on Laravel...
Support [OAuth2 Server v9](https://github.com/thephpleague/oauth2-server/releases/tag/9.0.0). - [x] thephpleague/oauth2-server#1398 - [x] thephpleague/oauth2-server#1402
### Passport Version 12.2.0 ### Laravel Version 11.7.0 ### PHP Version 8.2.14 ### Database Driver & Version Sqlite ### Description When attempting to use Laravel Passport's `php artisan passport:install` or...
PR laravel/framework#51968 has to be merged before this. Fixes #1756 Overriding the `render` method on `\Laravel\Passport\Exceptions\OAuthServerException` causes issue [when registering a custom rendering closure](https://laravel.com/docs/11.x/errors#rendering-exceptions), because [this method takes precedence over...
Clients are now identified by UUID by default. According to [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#page-15:~:text=a%20client%0A%20%20%20identifier%20%2D%2D-,a%20unique%20string,-representing%20the%20registration) the client identifier must be a unique string. It's also more secure than incremental integer IDs. ### Changes -...
### Passport Version 12.2.0 ### Laravel Version 11.10.0 ### PHP Version 8.2.19 ### Database Driver & Version MariaDB docker ### Description I tried to custom render `Laravel\Passport\Exceptions\OAuthServerException` on Laravel 11...
I'm sure other people have reasons to see the upgrade too. Here's mine: `league/oauth2-server` 8.x uses `league/event` 2.2 but `league/event` 3.0.x has been out for some time. My library https://doctrine-orm-graphql.apiskeletons.dev/en/latest/...
Determine if the client handles the specified grant before proceeding the request. - [ ] thephpleague/oauth2-server#1420 ### Todo 1. Add feature tests
This PR refactors OAuth2 Client implementation to make it more RFC compatible and removes some redundant codes from Passport. ## Client Redirect URIs The `redirect` property of the `Client` model...
This PR adds support for Device Authorization grant RFC 8628. - [ ] thephpleague/oauth2-server#1412 - [ ] thephpleague/oauth2-server#1410 ## Additions ### Grant type - `urn:ietf:params:oauth:grant-type:device_code` - [RFC 8628](https://datatracker.ietf.org/doc/html/rfc8628) ### ORM...