-
Notifications
You must be signed in to change notification settings - Fork 780
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
[11.x] Add the ability to limit scopes by client #1682
Conversation
Thanks @axlon. Can you also send a PR to the Passport docs? |
@driesvints will do! |
This is a breaking change btw. Changing the constructor of an app bound repository. |
@Smoggert Sorry, I did not consider people would be using this class directly, this is very clearly a breaking change. @driesvints yeah I was looking into a fix, that seems like a decent one but it still changes the constructor. How do you feel about doing something like this: public function finalizeScopes(
array $scopes, $grantType,
ClientEntityInterface $clientEntity, $userIdentifier = null)
{
$clients = app(ClientRepository::class);
....
} |
@axlon if you make the clients dependency nullable then you can check that for the logic you added. Fallback to the old one if there isn't one set |
@driesvints makes sense 👍 |
commit 8aced07a550abac3713057d0840c5f9d902fc18f Author: Luca Degasperi <luca@lucadegasperi.com> Date: Mon Dec 11 14:32:19 2023 +0100 fixes commit 046fbdda0318a83d769831d36cc5e411dec3bf23 Author: Luca Degasperi <luca@lucadegasperi.com> Date: Mon Dec 11 14:28:12 2023 +0100 fix mistake commit 178a5eb3e13b0e419c1721edd58e382276e71e32 Merge: eb78ec6 9b56fd4 Author: Luca Degasperi <luca@lucadegasperi.com> Date: Mon Dec 11 14:26:45 2023 +0100 Merge branch 'ultrapass4' into pullrequests/laravel/11.x # Conflicts: # .github/ISSUE_TEMPLATE/1_Bug_report.md # .github/workflows/tests.yml # CHANGELOG.md # UPGRADE.md # composer.json # config/passport.php # database/factories/ClientFactory.php # database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php # database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php # database/migrations/2016_06_01_000003_create_oauth_refresh_tokens_table.php # database/migrations/2016_06_01_000004_create_oauth_clients_table.php # database/migrations/2016_06_01_000005_create_oauth_personal_access_clients_table.php # resources/views/authorize.blade.php # src/Client.php # src/ClientRepository.php # src/Console/ClientCommand.php # src/Console/PurgeCommand.php # src/Guards/TokenGuard.php # src/HasApiTokens.php # src/Http/Controllers/AccessTokenController.php # src/Http/Controllers/AuthorizationController.php # src/Http/Controllers/DenyAuthorizationController.php # src/Http/Controllers/RetrievesAuthRequestFromSession.php # src/Http/Middleware/CheckClientCredentials.php # src/Http/Middleware/CheckClientCredentialsForAnyScope.php # src/Http/Middleware/CheckCredentials.php # src/Http/Middleware/CheckForAnyScope.php # src/Http/Middleware/CheckScopes.php # src/Passport.php # src/PassportServiceProvider.php # src/PersonalAccessTokenFactory.php # src/RefreshTokenRepository.php # src/RouteRegistrar.php # src/Token.php # tests/Feature/AccessTokenControllerTest.php # tests/Feature/ActingAsClientTest.php # tests/Feature/ActingAsTest.php # tests/Feature/KeysCommandTest.php # tests/Feature/PassportTestCase.php # tests/Unit/AuthorizationControllerTest.php # tests/Unit/BridgeScopeRepositoryTest.php # tests/Unit/CheckClientCredentialsForAnyScopeTest.php # tests/Unit/CheckClientCredentialsTest.php # tests/Unit/CheckForAnyScopeTest.php # tests/Unit/CheckScopesTest.php # tests/Unit/DenyAuthorizationControllerTest.php # tests/Unit/PersonalAccessTokenFactoryTest.php # tests/Unit/TokenGuardTest.php commit eb78ec6c192a01fbbe76dd427630a5e500e2486a Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Thu Nov 16 13:24:39 2023 +0100 Update HasApiTokens.php (#1698) commit 6dab7d087ef933d6ca4cc0038d10571d8a886b8a Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Nov 7 17:58:36 2023 +0000 Update CHANGELOG commit 966bc8e477d08c86a11dc4c5a86f85fa0abdb89b Author: Michael Nabil <46572405+michaelnabil230@users.noreply.github.com> Date: Thu Nov 2 19:16:12 2023 +0200 Simplify Conditional Statement (#1696) commit cf06f975d340df73857ca341daf38e975d7b134e Author: Michael Nabil <46572405+michaelnabil230@users.noreply.github.com> Date: Thu Nov 2 16:42:04 2023 +0200 [11.x] Named static methods for middleware (#1695) * Standardise of `using` for middleware * Fix * Use `func_get_args` * Formatting * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 40173015618f6f81d890d557406855b9a865685b Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Oct 24 15:40:58 2023 +0000 Update CHANGELOG commit cece4efda933219002d95f3d5d03509e9ed29a14 Author: Amin <aminkhoshzahmat@gmail.com> Date: Mon Oct 16 23:34:42 2023 +0330 Add return to revokeRefreshTokensByAccessTokenId method (#1693) commit 8c52a6958ed27a7b6371336bc3af57922e5c6db3 Author: Saleh Hashemi <81674631+salehhashemi1992@users.noreply.github.com> Date: Fri Oct 13 11:04:03 2023 +0330 update checkout to v4 (#1690) commit 30e23b04487ee8733e8301153e8c1051764e0702 Author: Dries Vints <dries@vints.be> Date: Thu Sep 21 16:45:07 2023 +0200 PHP 8.3 (#1689) commit 5e9e4b8da8ea5c2d23bb7b119f634f57df770561 Author: Mior Muhammad Zaki <crynobone@gmail.com> Date: Wed Sep 20 21:58:30 2023 +0800 Test Improvements (#1688) * Test Improvements Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * wip Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> --------- Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> commit 286baeb1be934654fe4eef147b24d3c8a9a3e08d Author: driesvints <driesvints@users.noreply.github.com> Date: Fri Sep 1 14:21:51 2023 +0000 Update CHANGELOG commit 93bb9c36045fe5be2eaeacf35e836c00b392b761 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Fri Sep 1 16:20:24 2023 +0200 Fix breaking change introduced by laravel/passport#1682 (#1686) commit e22596051d83ce8d92c4a0f75ce95f78198cee06 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Aug 29 15:23:00 2023 +0000 Update CHANGELOG commit 2582d2a58ff32761cb3aecb337a146ba17483f76 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Tue Aug 29 15:48:41 2023 +0200 Add support for inherited scopes when limiting scopes on clients (#1683) commit dd3f0815948097e6d9f0ba4a1d79c53040bcdd03 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Wed Aug 23 17:35:47 2023 +0200 [11.x] Add the ability to limit scopes by client (#1682) * Add the ability to limit scopes by client * Update Client.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com> commit b566e159c9661c49ca07b8e12a91ef86ee1bb94c Author: driesvints <driesvints@users.noreply.github.com> Date: Fri Jul 7 09:45:43 2023 +0000 Update CHANGELOG commit 401836130d46c94138a637ada29f9e5b2bf053b6 Author: Houssem Eddine Guemari <houssem.hoho@gmail.com> Date: Fri Jul 7 08:37:11 2023 +0200 Update composer.json (#1677) Updated league/oauth2-server. More details in tis PR: https://github.com/thephpleague/oauth2-server/pull/1353 commit 8b88aff8bf97e90e570e9a8e2a49d9786cf95307 Author: P. De Bleye <peter.debleye@gmail.com> Date: Wed Jun 21 08:53:41 2023 +0200 Update composer.json (#1674) Require new thephpleague/oauth2-server commit be0d862ae3b85ffebfdeddbaada2f2163a8e6dac Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Wed May 31 16:45:40 2023 +0200 Update ClientFactory.php (#1669) commit 8cae3ef2ccb4f83f23c6a5929b6996a4affdaa72 Author: driesvints <driesvints@users.noreply.github.com> Date: Fri Apr 28 10:09:54 2023 +0000 Update CHANGELOG commit 48a03ffbfce7217b7ceba2c8e685ae8caa68db10 Author: Dries Vints <dries@vints.io> Date: Fri Apr 28 12:08:34 2023 +0200 Revert "[11.x] Add Provider Guard to ClientRepository for Personal Access Clients (#1655)" (#1658) This reverts commit a75f0a92136a6cf91e5c6755374f77bf4b30c411. commit 487f1831e5725ebc5037e3ef0dd8ecafa840c994 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Apr 25 14:50:00 2023 +0000 Update CHANGELOG commit a75f0a92136a6cf91e5c6755374f77bf4b30c411 Author: Michael Nabil <46572405+michaelnabil230@users.noreply.github.com> Date: Mon Apr 24 22:05:58 2023 +0200 [11.x] Add Provider Guard to ClientRepository for Personal Access Clients (#1655) * Added provider guard to Password Grant Client. * Add argument provider in `InstallCommand` * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com> commit bf5e6f41900b88e1b545377317c2006b53834937 Author: Dries Vints <dries@vints.io> Date: Fri Apr 7 10:05:00 2023 +0200 Update 1_Bug_report.yml commit 5131ceaec1ed02028966c0c44f87e565da19fad2 Author: Dries Vints <dries@vints.io> Date: Thu Apr 6 17:21:38 2023 +0200 Rename 1_Bug_report.md to 1_Bug_report.yml commit 5e5a54f3d8a398344d75aacd9097bceff2e10c17 Author: Dries Vints <dries@vints.io> Date: Thu Apr 6 17:21:28 2023 +0200 Update 1_Bug_report.md commit 771cedbda3c55c8611abbe901dbb78163a59201b Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Apr 4 15:04:47 2023 +0000 Update CHANGELOG commit 5417fe870a1a76628c13c79ce4c9b6fbea429bc0 Author: Graham Campbell <GrahamCampbell@users.noreply.github.com> Date: Tue Apr 4 15:06:53 2023 +0100 Pass user identifier through to finalize scopes in personal access grant (#1650) commit ef5fa30b43e08ada9ec9dc7468e8ea8b2e1a490b Author: Graham Campbell <GrahamCampbell@users.noreply.github.com> Date: Tue Apr 4 14:37:07 2023 +0100 [11.x] Allow `lcobucci/jwt` v5 and cleaned up version constraints (#1649) * Allow `lcobucci/jwt` v5 * Temp change to see why CI no likey * Update composer.json * Update composer.json * Fixes * Update composer.json commit 2583a0a8252288150cc9c518b5eaf45fd4237fa6 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Mar 28 18:16:05 2023 +0000 Update CHANGELOG commit b6b68fad1d02e39c6c659705159487f643393cdd Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Sat Mar 18 22:25:20 2023 +0330 fix doc types (#1647) commit b33fa25458c26465e6acf5ed6989ba48e2628eef Author: StyleCI Bot <bot@styleci.io> Date: Fri Mar 17 13:39:43 2023 +0000 Apply fixes from StyleCI commit a1682d39b7730d318d1a6e3139836e06bda692d4 Author: Sergey Pashkevich <siarheipashkevich@gmail.com> Date: Fri Mar 17 16:39:26 2023 +0300 Update AuthCode.php (#1644) commit 95a2258b396af786e5a8ae2a5e9ed3fa7c1a57ce Author: Sergey Pashkevich <siarheipashkevich@gmail.com> Date: Fri Mar 17 16:39:15 2023 +0300 Update RefreshToken.php (#1645) commit 37ce6e6b6a2dab591978903795454cdfa80e9c2a Author: driesvints <driesvints@users.noreply.github.com> Date: Thu Mar 2 16:24:50 2023 +0000 Update CHANGELOG commit d60300185cfd066190b7842982cce314f779f9dd Author: Dries Vints <dries@vints.be> Date: Wed Mar 1 16:56:44 2023 +0100 Fix tests commit fcfac3fe70a01d6ad23b33a9f562c3d4067b2713 Author: Bram <bram@ceulemans.dev> Date: Wed Mar 1 08:32:45 2023 +0000 Update ClientRepository.php (#1642) commit 112e94561b1df90985493f8e0e65630bd70b8575 Author: Nuno Maduro <enunomaduro@gmail.com> Date: Thu Feb 23 08:21:11 2023 +0000 Adds type checking (#1640) commit 587aa1460fb8a4ac24d042b68513ef86b78d760a Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Tue Feb 21 19:40:22 2023 +0330 allow overriding the `AccessToken` class (#1638) commit d95c09566541e5a7fb731f7f8ca00fa0619f5f7e Author: driesvints <driesvints@users.noreply.github.com> Date: Mon Feb 20 13:44:26 2023 +0000 Update CHANGELOG commit 67c3e336af163f6eba5dbca8e5db46275ff0e433 Author: Dries Vints <dries@vints.be> Date: Mon Feb 20 14:43:07 2023 +0100 Revert "Revert "Added AuthenticationException to extend the behaviour of Laravel's default exception handler (#1633)"" This reverts commit db543b0cc13ed3f56f1bffda04707fbe2a8c7ab5. commit f3d03156046951fcb54868265a795ef92abca200 Author: driesvints <driesvints@users.noreply.github.com> Date: Mon Feb 20 09:23:45 2023 +0000 Update CHANGELOG commit db543b0cc13ed3f56f1bffda04707fbe2a8c7ab5 Author: Dries Vints <dries@vints.be> Date: Mon Feb 20 10:20:04 2023 +0100 Revert "Added AuthenticationException to extend the behaviour of Laravel's default exception handler (#1633)" This reverts commit 08b1dabfdddbdf2472ef193609f75f475208ec90. commit ab51e2b013a020ac3f28e772ced15730baf77a45 Author: driesvints <driesvints@users.noreply.github.com> Date: Fri Feb 17 09:10:16 2023 +0000 Update CHANGELOG commit 2008d86244297a9fa291faf63f59d0949bddf91e Author: TONY.W <33448724+TonyWong9527@users.noreply.github.com> Date: Fri Feb 17 17:08:51 2023 +0800 laravel10 The Eloquent model's deprecated $dates property has been removed.application should now use the $casts property (#1636) Co-authored-by: tony <tony.wang@sjfood.com> commit e305ff0488f3e125f3f22e1576d613dd1d95ac7e Author: Jon Erickson <jon@deschutesdesigngroup.com> Date: Thu Feb 16 14:02:39 2023 -0700 [11.x] Custom authorization view response (#1629) * Implements authorization view response contract that allows for being overridden with custom views * Updated namespace * Updated namespace * Moved individual arguments to an array of parameters and one argument * Removed authorize return type * Remove old return statement * Add IntelliJ IDE files to gitignore * Formatting * Update tests * Update rest of tests with new response class * Style fixes and make sure parameters pushed to authorization view are in an array. * Remove parameters from authorization view function * Update .gitignore * Update src/Contracts/AuthorizationViewResponse.php Co-authored-by: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> * Update src/Http/Responses/AuthorizationViewResponse.php Co-authored-by: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> * Updated doc block return types * formatting * remove extra line --------- Co-authored-by: Dries Vints <dries@vints.io> Co-authored-by: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 08b1dabfdddbdf2472ef193609f75f475208ec90 Author: Chris Page <sirhc.page@gmail.com> Date: Tue Feb 14 21:08:49 2023 +0000 Added AuthenticationException to extend the behaviour of Laravel's default exception handler (#1633) Co-authored-by: Chris Page <chris@motocom.co.uk> commit 174a12a8d80476c16bcae78b404395154721d815 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Feb 14 16:51:43 2023 +0000 Update CHANGELOG commit 5b57dbc9fc5e350d70b5c612fd53c65dd0bbebb2 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Wed Feb 8 18:24:40 2023 +0100 Add support for `EncryptCookies` middleware (#1628) commit 31ed56954f044ffd6dcef237d5087955376693ff Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Feb 7 16:08:23 2023 +0000 Update CHANGELOG commit d8cc34766635da552a9ddff80248c5505f19bd04 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Fri Feb 3 16:45:23 2023 +0100 Indicate current token can be `TransientToken` (#1627) commit 9ee5bd94abf0698f414dcfcb179b2b311a72c13e Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Jan 31 15:42:22 2023 +0000 Update CHANGELOG commit 1d8204e40c63bb6cbb981907fdbeb5c69a4fbae9 Author: Lucas Moraes (Panik) <lucas.panik@gmail.com> Date: Tue Jan 31 10:41:55 2023 -0300 [11.x] Get model PK instead of forcibly id column (#1626) * Get model PK instead of forcibly id column * Get model PK instead of forcibly id column in tests * Get model PK instead of forcibly id column in command * Get model PK instead of forcibly id column in repository * Get model PK instead of forcibly id column in Passport * stub extending from model * Fix namespace order * Get model PK instead of forcibly id column in blade commit b7bc60c9df4b7ba42bc193e36f392880865250ee Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Wed Jan 25 15:32:58 2023 +0100 Fix doc block for `withAccessToken()` (#1620) commit 3ac7b1e8f9814e47af5a9d5ab88c415060d5c782 Author: P. De Bleye <peter.debleye@gmail.com> Date: Sun Jan 22 18:37:04 2023 +0100 Update ClientCommand.php's user_id description (#1619) * Update ClientCommand.php's user_id description We get a fair amount of confused passport users on the laravel discord wondering what this user_id is even for. It might help to indicate that the input is optional. * Update ClientCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit b0b0758eac20aeaa229204cbc7fa8fd6ee9f9e09 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Jan 17 16:29:11 2023 +0000 Update CHANGELOG commit b20282266211a0a19b0294d3459b5fd268807a6c Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Mon Jan 16 18:22:08 2023 +0330 Get authenticated user from the guard (#1617) commit e97f05d1ac1c8b7db0fd7202631d7c098da73f28 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Jan 10 19:54:34 2023 +0000 Update CHANGELOG commit 87dcab8ba37ba3a8c0d4958d251ab87a5c95b329 Author: Dries Vints <dries@vints.io> Date: Mon Jan 9 17:46:42 2023 +0100 Update composer.json (#1615) commit 3c17574d58f8a796fadee4d5cc946b89b4ec260f Author: Dries Vints <dries@vints.io> Date: Mon Jan 9 16:13:26 2023 +0100 Update tests.yml commit e7df6ac5cf95ff476f5fb7965b27bd4d3c5d49b3 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Jan 3 17:29:04 2023 +0000 Update CHANGELOG commit 2d746b752b08e47f6b5bd69d8e76fbe477e23532 Author: Nuno Maduro <enunomaduro@gmail.com> Date: Tue Jan 3 09:40:19 2023 +0000 Adds types to migrations (#1594) commit 13329bee36a414323f5e545c5d5355c38cb6639c Author: Dries Vints <dries@vints.io> Date: Wed Dec 28 13:30:41 2022 +0100 Update tests.yml commit 78c9d3a0f38fa28b9be9dbf0282cc766354e0e52 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Dec 6 16:25:16 2022 +0000 Update CHANGELOG commit 835febbfe875ba97306c026fdaa94f58f167363e Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Fri Dec 2 21:50:16 2022 +0330 Add auth guard to routes (#1603) commit 662325a90b8c3184c548eaf66ce971925f2b90dc Author: Dries Vints <dries@vints.io> Date: Wed Nov 23 10:06:21 2022 +0100 Create issues.yml commit 298ea64aa42c14a35146b1d902df95655a0cb35e Author: Dries Vints <dries@vints.io> Date: Wed Nov 2 11:01:22 2022 +0100 Test on PHP 8.2 (#1592) * Test on PHP 8.2 * Update composer.json commit 620fc16d16ccd70b3c10d1395e1dd856c09a0ddd Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Oct 25 16:38:35 2022 +0000 Update CHANGELOG commit 4c2105887c724fe05fc4cd9b7d6c8d8df30e1bcf Author: Marcin Nabiałek <dev@nabialek.org> Date: Sat Oct 22 18:38:00 2022 +0200 Update docblock (#1588) commit 3bc63674619d2edf14440267149137b51ab54f87 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Tue Oct 18 18:07:57 2022 +0200 Fix ClientRepository doc blocks (#1587) commit c73285f05de3fb808091da47769ccb53f69e4fb1 Author: StyleCI Bot <bot@styleci.io> Date: Mon Oct 17 14:16:15 2022 +0000 Apply fixes from StyleCI commit 22281ff77c33ec6f474b5a2ada166e33543629cd Author: TosID <fatos@kurtishi.net> Date: Mon Oct 17 16:15:54 2022 +0200 Update PurgeCommand.php (#1586) I get a lot confused when I use this command it always return seven days :) now return hours instead of days. commit 741595738b80f64ec35ad82de477adee925fff7e Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Wed Oct 5 18:57:02 2022 +0330 [11.x] Support prompting login when redirecting for authorization (#1577) * Support prompting login when redirecting for authorization * use fragment on redirect uri for implicit grant * bind StatefulGuard * formatting Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 3a4d6e524cc2fe0c45d56c728aa1973a7a3d5d69 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Oct 4 14:11:06 2022 +0000 Update CHANGELOG commit 5a26d6cbf56544c9f56994c6978f8fbe4d82bb33 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Thu Sep 29 17:52:25 2022 +0200 Improve token guard return type (#1579) commit 7a514ccb1ef3e83be285ad0a0a83b03d701f8c3f Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Sep 13 15:06:14 2022 +0000 Update CHANGELOG commit fb2a4029c6cf4df1ce0cf79ddbb874508f7a73e9 Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Wed Sep 7 13:14:45 2022 +0000 Let OAuth2 server handle denying the request (#1572) commit 721df114d5a036d8fb3f542b83ab2879ecea7d69 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Sep 6 16:00:05 2022 +0000 Update CHANGELOG commit 89cc1976a25e2fa53ba8a3773e101189149852fa Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Mon Sep 5 14:35:34 2022 +0000 Support disabling prompt when redirecting for authorization (#1569) commit cae735ae430bd882e6469839ca814ae9e378d870 Author: Hafez Divandari <hafezdivandari@gmail.com> Date: Thu Sep 1 14:59:37 2022 +0000 [11.x] Support prompting re-consent when redirecting for authorization (#1567) * Support prompting re-consent * Update AuthorizationController.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 8aeec7106a9a2f7c98fc1989e8de072e76b565f7 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Aug 30 15:24:46 2022 +0000 Update CHANGELOG commit e312f36e35e695877c4f4eee54c9cc1dcca20eef Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Mon Aug 29 15:56:25 2022 +0200 [11.x] Allow for bootstrapping without loading routes (#1564) * Allow for bootstrapping without loading routes * Update Passport.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 5629f1ac822dc1abb59c292aab8c454f67080ddc Author: Rubén García <rebrok@gmail.com> Date: Wed Aug 24 15:20:26 2022 +0100 [11.x] Custom days and hours to passport purge command (#1563) * Custom days and hours to passport purge command * lint fix * formatting Co-authored-by: Ruben Garcia <ruben.garcia@personio.de> Co-authored-by: Taylor Otwell <taylor@laravel.com> commit dac2be68174104d9d56051144d2c3b634f37d54d Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Aug 23 15:07:40 2022 +0000 Update CHANGELOG commit dd00df75cc10f14186f71edb39a8839627ef837e Author: Dries Vints <dries@vints.io> Date: Fri Aug 19 17:05:01 2022 +0200 [11.x] Remove deprecated functionality and simplify some feature tests (#1559) * Drop JWT v3 * wip commit a57723e58faaa70c5629d2a15f7ecc291e98fd73 Author: Dries Vints <dries@vints.io> Date: Fri Aug 19 17:00:43 2022 +0200 Passport v11 upgrade guide (#1561) * Passport v11 upgrade guide * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylorotwell@gmail.com> commit a17975f438b86f494f29f7ebfcd44c7d8562af12 Author: Dries Vints <dries@vints.io> Date: Fri Aug 19 13:53:39 2022 +0200 wip commit 516cddbb817a01a176cea413a2df0976844572c3 Author: Dries Vints <dries@vints.io> Date: Tue Aug 16 16:47:51 2022 +0200 Remove deprecated properties (#1560) commit 836f5506aaf1095c8f4dc7c358ce83a85c3f5fde Author: Dries Vints <dries@vints.io> Date: Tue Aug 16 16:29:05 2022 +0200 Drop PHP 7.x and Laravel v8 (#1558) commit 4cee55e3e048517b7dcad70eb0cccdf3ac832918 Merge: ed6f6c1 75fd509 Author: Dries Vints <dries@vints.io> Date: Tue Aug 16 15:34:48 2022 +0200 Merge branch '10.x' # Conflicts: # CHANGELOG.md # src/Guards/TokenGuard.php commit ed6f6c1d7582d4650bd9ccdf37ee950f11383940 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Wed Jul 13 16:39:47 2022 +0200 [11.x] Fix scope inheritance when using Passport::actingAs() (#1551) * Fix scope inheritance when using Passport::actingAs() * Update Passport.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 75fd509928952ccbaff47e609d4f0e657a2c22cf Author: Dries Vints <dries@vints.io> Date: Wed Jun 8 11:32:00 2022 +0200 Update update-changelog.yml commit 9c6e8c11b9a0cc116e70df0f9d86bf409872e043 Author: Dries Vints <dries@vints.io> Date: Wed Jun 8 11:31:47 2022 +0200 Update pull-requests.yml commit 3498c408dee47b3b0081960d975de3b9644d77e8 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Apr 19 15:37:59 2022 +0000 Update CHANGELOG commit b62b418a6d9e9aca231a587be0fc14dc55cd8d77 Author: StyleCI Bot <bot@styleci.io> Date: Sat Apr 16 13:38:08 2022 +0000 Apply fixes from StyleCI commit 6e39bb046f08e45d70dcd6ca97e5b6689e5f3051 Author: vic <victor.balssa@gmail.com> Date: Sat Apr 16 06:37:53 2022 -0700 [ADD] new URI Rule to validate URI and use it to RedirectRule (#1544) commit 499d68d3dcbd7680562379c2a6ee616200e558e5 Author: Dries Vints <dries@vints.io> Date: Fri Apr 8 15:37:16 2022 +0200 Update tests.yml (#1540) commit c9591e4df43321834c549d1cec0a5483797c5ef2 Author: Dries Vints <dries@vints.io> Date: Fri Apr 8 11:15:58 2022 +0200 Update pull-requests.yml commit abd3f11fb368a7cd5d3ac31f88d5f09aadf24789 Author: Dries Vints <dries@vints.io> Date: Fri Apr 8 11:06:34 2022 +0200 Create pull-requests.yml commit 1d6280e7280c11cbfc8e550db80d531fd55f599b Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Apr 5 15:30:12 2022 +0000 Update CHANGELOG commit 5bb6637cb5bf397381be4542719ea3694c808dcd Author: David Kanenwisher <d.kanen@gmail.com> Date: Wed Mar 30 09:42:50 2022 -0500 Upgrade firebase/php-jwt to ^6.0 (#1538) The firebase/php-jwt recently had to make breaking changes to resolve a security flaw in their library. This change upgrades that library and fixes the code that broke with the upgrade. commit 31e4ec6a66b9b92dc5b67cea7c2ee03c7c135064 Author: Dries Vints <dries@vints.io> Date: Wed Mar 23 13:35:12 2022 +0100 Update update-changelog.yml commit f1741c3c1ade298aeb4ed03242af2b5ae2dc47b6 Author: Dries Vints <dries@vints.io> Date: Thu Mar 17 11:06:46 2022 +0100 Update .styleci.yml commit 61832d38eb788a0953d70a756557de2ff9af1a3c Author: Dries Vints <dries@vints.io> Date: Thu Mar 17 10:54:22 2022 +0100 Update .styleci.yml commit 3ef9e2b8d7b1ccab128084fe51b95ff06c9e2d72 Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Mar 8 16:31:48 2022 +0000 Update CHANGELOG.md commit 1039d8b4aa71c45dbea2f140b131cae8802237e7 Author: Markus Machatschek <mmachatschek@users.noreply.github.com> Date: Wed Feb 23 16:04:04 2022 +0100 Use anonymous migrations (#1531) commit de6e1fda1322b72764c15aef28bd099f01d61aeb Author: driesvints <driesvints@users.noreply.github.com> Date: Tue Feb 22 16:10:13 2022 +0000 Update CHANGELOG.md commit c56207e9a37c849da0164842a609a9f38747e95b Author: Antonio Pauletich <antonio.pauletich95@gmail.com> Date: Tue Feb 15 22:44:15 2022 +0100 [10.x] Fix Faker deprecations (#1530) When using this factory in feature tests with `$this->withoutDeprecationHandling();` call the test fails as the deprecation gets converted to an exception: ``` Since fakerphp/faker 1.14: Accessing property "company" is deprecated, use "company()" instead. ``` commit 409e30849da4f8488ce09d1d18c9055944b0a66c Author: Dries Vints <dries@vints.io> Date: Tue Feb 8 15:13:38 2022 +0100 Create update-changelog.yml commit c56d3e0a066ae31b0baf082a2672bda935d48cf7 Author: Jonathan Mitchell <jon.r.mitchell@gmail.com> Date: Thu Feb 3 18:20:48 2022 -0800 Minor documentation tweak to UPGRADE.md (#1526) * Update UPGRADE.md I just went through the steps of upgrading passport from v8 to v10 and hit a minor snag that could have been solved by a tweak to the documentation. When upgrading from v8 to v9 it says place two Passport static calls "within the `boot` method of your `AppServiceProvider`" When upgrading from v9 to v10 it says you can remove the calls from your `AuthServiceProvider`. I don't claim to know where those calls belonged in the first place, so this proposal just updates the documentation to list them both. * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 42677aa017a747d27e0d6a87e29f0150f1414d02 Merge: d511a3c 779e34f Author: Dries Vints <dries@vints.io> Date: Tue Jan 25 21:07:24 2022 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit 779e34f0152f42fb76b258d814956313fa38857c Author: Dries Vints <dries@vints.io> Date: Tue Jan 25 21:06:06 2022 +0100 Update CHANGELOG.md commit d511a3ca9ff97e65ff5de8a73a9c070c204f3b5a Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Mon Jan 24 18:51:06 2022 +0100 [11.x] Stub client on guard when calling Passport::actingAsClient() (#1519) * Allow token guard client to be set programmatically * Set the client on the TokenGuard when mocking the client * Apply fixes from StyleCI commit 231ef171e35feb21e70318190ad86208f46c3beb Merge: d239c98 ba1996c Author: Dries Vints <dries@vints.io> Date: Mon Jan 24 13:41:29 2022 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit ba1996cdaf25c88bb8cf851442afa0ec6870a3a1 Author: yaroslawww <23663794+yaroslawww@users.noreply.github.com> Date: Fri Jan 21 16:51:20 2022 +0200 [10.x] Allow to use custom authorization server response (#1521) * Allow to use custom authorization server response * Update src/Passport.php Remove direct initialisation as "null" Co-authored-by: Dries Vints <dries@vints.io> * Update Passport.php Co-authored-by: Dries Vints <dries@vints.io> Co-authored-by: Taylor Otwell <taylor@laravel.com> commit b4a829e52f57e871f6c40717b9c9770cac5ad795 Author: Dries Vints <dries@vints.io> Date: Wed Jan 12 19:12:12 2022 +0100 Update CHANGELOG.md commit b9e0b9869272d87febff38583796b68307c3dacb Author: Dries Vints <dries@vints.io> Date: Wed Jan 12 19:10:09 2022 +0100 Laravel v9 support (#1516) * Laravel 9 support * Update composer.json * Update tests.yml commit fe865e3b165ca203e8498e1b82ee3493b6c2c304 Author: Dries Vints <dries@vints.io> Date: Tue Jan 11 21:21:48 2022 +0100 Update tests.yml commit 9a431c5535f8637ba4bfa9fb07351f4226f11c63 Author: Dries Vints <dries@vints.io> Date: Tue Jan 11 21:21:02 2022 +0100 Update tests.yml commit 7981abed1a0979afd4a5a8bec81624b8127a287f Author: Dries Vints <dries@vints.io> Date: Tue Dec 7 17:57:03 2021 +0100 Update CHANGELOG.md commit 46778b0f469a69bf0ca4f47180f5b3019d1d97d9 Merge: a263428 c24402e Author: Dries Vints <dries@vints.io> Date: Tue Dec 7 17:55:51 2021 +0100 Merge pull request #1512 from rubengg86/php_8.1_internal_method_return_types fix: Internal method return types, php 8.1 tests compatibility commit c24402ebced91e7ada334e6e48ab119b494bacea Author: ruben <ruben@clubforce.com> Date: Tue Dec 7 16:47:26 2021 +0000 fix: Internal method return types, php 8.1 tests compatibility commit d239c9829062da1c91919c8ce25b99ef3c90ea01 Author: Taylor Otwell <taylorotwell@users.noreply.github.com> Date: Tue Dec 7 16:24:22 2021 +0000 Apply fixes from StyleCI commit bedf716a46296904cc9b8c152fbdcc49605851d6 Merge: 187580a a263428 Author: Dries Vints <dries@vints.io> Date: Tue Dec 7 17:23:56 2021 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md # tests/Feature/PassportTestCase.php commit a2634286f98de77a203e6d57b231d6c30c840569 Author: Dries Vints <dries@vints.io> Date: Tue Dec 7 17:21:39 2021 +0100 Update CHANGELOG.md commit 9e1bbadc7474744f64a606c2696fabd64194ab6a Author: Kyryl Bogach <kyryl.bogach@gmail.com> Date: Wed Dec 1 14:53:00 2021 +0100 Fix str_replace error when third parameter ($subject) is null (#1511) * Fix str_replace error when third parameter ($subject) is null in PHP 8.1.0 str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/laravel/passport/src/PassportServiceProvider.php line 268 * Use single quotes to fix style error commit 187580ab87352b1b5bc524aee62d32ff5183dce0 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Fri Nov 26 16:38:14 2021 +0100 [11.x] Allow authenticated client to be retrieved from the guard (#1508) * Allow authenticated client to be retrieved from the guard * Make token guard macroable * Use previously resolved client when available * Add tests ensuring client and user are only pulled from the database once commit 0f02c6cb446ab56ad429b27250c1fd1eac6cc5de Author: Dries Vints <dries@vints.io> Date: Fri Nov 26 15:57:17 2021 +0100 [10.x] Update test for Laravel 9 (#1509) * Update test for Laravel 9 * wip * wip commit fa30cd604a6f525694390339621a854138efc8f7 Merge: 9d4aed7 1c69a01 Author: Dries Vints <dries@vints.io> Date: Tue Nov 2 17:49:40 2021 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md # src/Passport.php commit 1c69a010930a3ce8db348967d8ad9585be4d7d4d Author: Dries Vints <dries@vints.io> Date: Tue Nov 2 17:45:51 2021 +0100 Update CHANGELOG.md commit 48b953439be5c6ed487f54ddebd9e13ebbfdb659 Author: Thijs Kok <tkok@testmonitor.com> Date: Fri Oct 29 16:01:39 2021 +0200 [10.x] Add custom encryption key for JWT tokens (#1501) * Added Passport custom encryption key * Refactored encryptUsing method * StyleCI fixes * formatting Co-authored-by: Taylor Otwell <taylor@laravel.com> commit fda2c2efd54f337be4ea8bed47d7f2665b6b7e0c Author: Dries Vints <dries@vints.io> Date: Thu Oct 28 21:54:22 2021 +0200 Refactor expiry dates to intervals (#1500) commit 25fa27e9902037e91849a520662d76a179254104 Merge: c889d9c e6b20bc Author: Dries Vints <dries@vints.io> Date: Thu Oct 21 14:32:09 2021 +0200 Merge pull request #1494 from laravel/php81 PHP 8.1 support commit e6b20bc5918b5731d93c91dfc4e1ad4ad2a11f75 Author: Dries Vints <dries@vints.io> Date: Thu Oct 21 11:41:40 2021 +0200 Update phpunit.xml.dist commit 9d4aed784e67ae3b584dd654cdcd99dc819b3a1f Merge: 7a026ac c889d9c Author: Dries Vints <dries@vints.io> Date: Tue Oct 19 17:25:47 2021 +0200 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit c889d9c464fea409dffe283e9c4e7054ef7aca6f Author: Dries Vints <dries@vints.io> Date: Tue Oct 19 17:25:10 2021 +0200 Update CHANGELOG.md commit 2ab4b1a055e9430330f9f753ffdbd7c44ed8bae4 Author: Dries Vints <dries@vints.io> Date: Tue Oct 19 15:48:51 2021 +0200 PHP 8.1 support commit 9b5da83893ce350f6f79e6baca61908ed33323c1 Author: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Fri Oct 15 16:28:08 2021 +0200 [10.x] Ensure client model factory always creates models with a primary key, even when events are disabled (#1492) * Ensure client model factory always creates models with a primary key, even when events are disabled * Update ClientFactory.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 0ee9586e72d87b78e4e43c53a62f189373e6ac79 Author: Taylor Otwell <taylorotwell@users.noreply.github.com> Date: Wed Sep 22 13:02:46 2021 +0000 Apply fixes from StyleCI commit 1d9d0e474dc0d634eb17b3f6e17a1cbb827de5c5 Author: Francisco Madeira <xico2k@gmail.com> Date: Wed Sep 22 14:02:37 2021 +0100 Change logo to work on Dark Theme (#1481) commit 23cffb138a6dfcd7d5aa91db6d569267e4661d43 Merge: 5381868 6906a6d Author: Dries Vints <dries@vints.io> Date: Thu Jul 29 14:05:57 2021 +0200 Merge pull request #1470 from ricardogobbosouza/patch-1 Fix link to documentation commit 6906a6d84b10dc412fa5fee557e50714c26f62ba Author: Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br> Date: Thu Jul 29 08:53:17 2021 -0300 Fix link to documentation commit 5381868ded5ac32c34ad7b6b774f02c0d51e50bb Author: Andrew Millington <andrew@noexceptions.io> Date: Wed Jul 28 13:13:56 2021 +0100 Fix tests (#1469) commit 7a026acac7576224474f9f51b3b04d8b4541c0e7 Author: Dries Vints <dries@vints.io> Date: Sun Jul 18 18:05:25 2021 +0200 [11.x] Refactor routes to dedicated file (#1464) * Refactor routes to dedicated file * Update web.php * Apply fixes from StyleCI (#1465) * formatting Co-authored-by: Taylor Otwell <taylorotwell@gmail.com> commit 9f1e2d7cecae1f5d95a2c5a0d0bcc4df8c854d8e Merge: b69f25a 12678fb Author: Dries Vints <dries@vints.io> Date: Fri Jul 16 17:57:01 2021 +0200 Merge branch '10.x' commit 12678fbe8c6b661e61736630db55e98d13ccad77 Author: Dries Vints <dries@vints.io> Date: Sun Jun 13 11:40:01 2021 +0200 wip commit 4b28beb7657652e7ee710148375a00bb49902acd Author: Dries Vints <dries@vints.io> Date: Sat Jun 12 20:09:02 2021 +0200 dark mode logo commit 519e1df2062e1524d1ed352ccc2227cac882f667 Author: Andrew Millington <andrew@noexceptions.io> Date: Fri Jun 4 19:26:16 2021 +0100 [10.x] Use Real Keys in Tests (#1450) * use real keys in tests * revert composer change * reset position of loadKeysFrom() function commit cafb8e64a91f905ff5ab3f85836371216554f379 Author: Dries Vints <dries@vints.io> Date: Fri Jun 4 17:33:04 2021 +0200 Update 1_Bug_report.md commit b69f25a69ffe2897fff397ff56994f059538201e Author: Taylor Otwell <taylorotwell@gmail.com> Date: Wed May 26 08:09:39 2021 -0500 formatting commit 95bdc167391f2aba326eda674f58d7e77dd8ae60 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed May 26 11:42:54 2021 +0200 Improve authenticateViaBearerToken() performance commit 5d45ccb21dff8deb80154c536bb440d98aa142f0 Merge: 66b9088 a5e4471 Author: Dries Vints <dries@vints.io> Date: Tue Apr 6 16:31:24 2021 +0200 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit a5e4471dd99b7638ab5ca3ecab6cd87cf37eb410 Author: Dries Vints <dries@vints.io> Date: Tue Apr 6 16:30:45 2021 +0200 Update CHANGELOG.md commit 3d1e6bbdedf71efb147f3b5205259e8b20c2e6ad Author: Taylor Otwell <taylorotwell@gmail.com> Date: Mon Apr 5 13:44:12 2021 -0500 use app helper commit e3478dedd938671b7598239cc8554f77de9ab9c7 Author: Mohamed Said <themohamedsaid@gmail.com> Date: Mon Apr 5 16:45:08 2021 +0200 fix binding commit 66b9088993f1be9a4a95129b61dca951e04223ff Author: Dries Vints <dries@vints.io> Date: Tue Mar 16 18:09:22 2021 +0100 Allow timestamps on Token model (#1425) commit 6dd09cf0458ad08d2c4555d7643c98d5ddd0cfb6 Merge: 6e7f85e ab9e204 Author: Dries Vints <dries@vints.io> Date: Tue Mar 16 15:54:28 2021 +0100 Merge branch '10.x' commit ab9e2045e0d8649cd84de411d0332bdd5fe763a3 Author: Dries Vints <dries@vints.io> Date: Thu Mar 11 17:44:50 2021 +0100 Update tests.yml commit 2138d5941cb7aaae0d745925e7807faf9c1479cc Author: baijunyao <baijunyao@baijunyao.com> Date: Mon Mar 8 04:26:25 2021 +0800 Fix `$userId` type (#1422) commit 6e7f85e31cf62f70f4f8bbd41fb9bac04f10ef9a Merge: 6ee6e70 1f1dbec Author: Dries Vints <dries@vints.io> Date: Fri Mar 5 22:04:22 2021 +0100 Merge branch '10.x' commit 1f1dbecf3ceecf36bd1a34da145d382fcea14764 Merge: 9f1a5d5 c7c798f Author: Dries Vints <dries@vints.io> Date: Fri Mar 5 22:04:09 2021 +0100 Merge pull request #1421 from laravel/ubuntu Use ubuntu-18.04 commit c7c798f872a29cebcf9979e8d7c4e53e8d4eb77d Author: Dries Vints <dries@vints.io> Date: Fri Mar 5 22:01:37 2021 +0100 Use ubuntu-18.04 commit 6ee6e7027013ace6baddda9b91cc20e689f18887 Merge: b2b66ad 9f1a5d5 Author: Dries Vints <dries@vints.io> Date: Tue Mar 2 17:40:40 2021 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit 9f1a5d56eb609250104afc38cf407f7c2520cda3 Author: Dries Vints <dries@vints.io> Date: Tue Mar 2 17:40:00 2021 +0100 Update CHANGELOG.md commit d429a9823dc6ba00b607efa3b73c76e17f547e57 Author: Dries Vints <dries@vints.io> Date: Mon Mar 1 14:37:32 2021 +0100 [10.x] Backport phpseclib v2 (#1418) * Backport support for phpseclib v2 * Apply fixes from StyleCI (#1417) commit b2b66adfe37254e2814b0f1841e9ebd37174ff6a Merge: fb95081 2ed0190 Author: Dries Vints <dries@vints.io> Date: Tue Feb 23 21:46:16 2021 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit 2ed01909228b049f6ea0aa2d4b0ae78d3b27bee3 Author: Dries Vints <dries@vints.io> Date: Tue Feb 23 21:45:29 2021 +0100 Update CHANGELOG.md commit fb950814a5bf86473a53f98c14312b761e1b0a39 Author: Dries Vints <dries@vints.io> Date: Mon Feb 22 15:13:46 2021 +0100 Revert model DB connection customization (#1412) commit 3e10037ffbc7da83f81df22bb9725fe302b66fb2 Merge: ce7f5ab b28cd97 Author: Dries Vints <dries@vints.io> Date: Mon Feb 22 11:55:37 2021 +0100 Merge branch '10.x' # Conflicts: # CHANGELOG.md commit b28cd974cbdca374c15a8ba6cd3533c2719e2447 Author: Dries Vints <dries@vints.io> Date: Thu Feb 18 16:06:38 2021 +0100 Update to phpseclib v3 (#1410) commit 8b792b4f614bd1b955d24a3ceec3521dba727e35 Author: Dries Vints <dries@vints.io> Date: Thu Jan 14 17:28:55 2021 +0100 Revert "[10.x] Add purging of invalid refresh tokens to command (#1396)" (#1397) This reverts commit 985577cec359d57df15ac641bfaed84fdc222824. commit 985577cec359d57df15ac641bfaed84fdc222824 Author: Alexander Karlstad <alexander.karlstad@gmail.com> Date: Thu Jan 14 15:11:49 2021 +0100 [10.x] Add purging of invalid refresh tokens to command (#1396) * Delete invalid refresh tokens Delete refresh tokens referring to non-existing access tokens. * Use whereDoesntHave() instead * Add test for purge command * Update description and output of command * Update PurgeCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit c2b93a7d8d93cf303bb1eefbfa5610f084f9bdd4 Author: Dries Vints <dries@vints.io> Date: Thu Nov 26 08:57:30 2020 +0100 Update CHANGELOG.md commit 032e2e4a7b5ed906106e9d23099c054f442a45c9 Author: Dries Vints <dries@vints.io> Date: Thu Nov 26 08:53:02 2020 +0100 [8.x] PHP 8 Support (#1373) * PHP 8 Support * Update JWT usage * Try out dev versions of jwt * Use vcs * Try composer token * Update phpunit xml * Fix test for JWT 3.4 * Try git url * Bind JWT Parser to container for 4.x * Add deprecation notice * Use configuration object * Use new token interface * Update composer.json * Update workflow Co-authored-by: Luís Cobucci <lcobucci@gmail.com> commit 034b7bac89387981c02a52c8d1d30e44b28e1e80 Author: Dries Vints <dries@vints.io> Date: Wed Nov 25 17:26:46 2020 +0100 Update CHANGELOG.md commit 5758a35582156ca0a116106389dd3d7f1055e1bf Author: Dries Vints <dries@vints.io> Date: Mon Oct 26 13:51:44 2020 +0100 Update .gitattributes commit c7cb4a562b4091971552dea5294d0d4d372a364c Merge: d28948c ed0e660 Author: Dries Vints <dries@vints.io> Date: Mon Oct 5 16:57:56 2020 +0200 Merge pull request #1362 from pataar/patch-1 [10.x] Update the badges to use shields.io commit ed0e6600e18a8b3cd7690ec7c68dd4d46671e1b1 Author: Pataar <pataar@pm.me> Date: Mon Oct 5 16:04:21 2020 +0200 [10.x] Update the badges to use shields.io commit d28948c9ff9d71207ad077be221d95f8307eab2b Merge: 61de2cf 6713bd1 Author: Dries Vints <dries@vints.io> Date: Mon Oct 5 13:01:37 2020 +0200 Merge pull request #1361 from siarheipashkevich/unnecessary-return remove unnecessary return form service provider commit 6713bd16277dbfc5258ac95926ca6949668661fe Author: Sergey Pashkevich <siarheipashkevich@gmail.com> Date: Mon Oct 5 13:56:05 2020 +0300 remove unnecessary return form service provider commit 61de2cf4e0002982baad3168256c7dd083897e41 Author: Dries Vints <dries@vints.io> Date: Mon Sep 21 17:19:40 2020 +0200 Remove Vue components (#1352) commit 4e53f1b237a9e51ac10f0b30c6ebedd68f6848ab Author: Dries Vints <dries@vints.io> Date: Tue Sep 15 18:41:42 2020 +0200 Update CHANGELOG.md commit 7a2ce6ccaa8eb56adfb2524f677d0d06806a55c9 Author: Dries Vints <dries@vints.io> Date: Mon Sep 14 15:47:45 2020 +0200 [10.x] Use newFactory to properly reference factory (#1349) * Use newFactory to properly reference factory * Update composer.json commit ce7f5ab7e15f11446de77a94c50fc2faf2ac283e Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 17:30:52 2020 +0200 update branch alias commit b182a80e4dcc93e48a2e8833348706e4a6f6786c Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 17:30:36 2020 +0200 Update CHANGELOG.md commit 71d1a70a920f991e4f459f4896b9a32fefb3f5d5 Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 17:27:48 2020 +0200 Update CHANGELOG.md commit 445a445304a2ab76335b841797fcd951385ae37f Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 16:44:12 2020 +0200 [10.x] Upgrade guide (#1345) * Update README.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 8a84da3464bde233f04748e46d3e78233db23179 Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 16:36:41 2020 +0200 wip commit 23cc8e23940db77e44b549887cf985abf8917cc8 Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 16:27:54 2020 +0200 Update CHANGELOG.md commit c044dcfc24cd4546c41f67a835a1894308d72b0a Merge: e576928 11d95f5 Author: Dries Vints <dries@vints.io> Date: Tue Sep 8 15:50:29 2020 +0200 Merge branch '9.x' into master commit 11d95f57393db5b3ebd0d9458c4a3f62b98ab9ee Author: Chun-Sheng, Li <peter279k@gmail.com> Date: Fri Sep 4 02:36:42 2020 +0800 Using assertSame to make assertion equals strict (#1343) commit e576928242fc2d2c0e469c9aa5d07745671255b6 Author: Connor Tumbleson <iBotPeaches@users.noreply.github.com> Date: Wed Sep 2 11:13:05 2020 -0400 [10.x] Client Credentials Feature tests (#1341) * feat: add factory state method for client credentials grant * test: add pass/fail tests for client credentials grant * style: trailing comma commit ffcb546137a4ab609f8bef0d39feb2a9526bbade Author: Connor Tumbleson <iBotPeaches@users.noreply.github.com> Date: Wed Sep 2 09:15:46 2020 -0400 style: correct NBSP for regular spaces (#1339) commit df21a4351da85329ce42f43426dfb3d1a117cefa Author: Dries Vints <dries@vints.io> Date: Tue Aug 25 19:46:18 2020 +0200 [10.x] Support Laravel 8 (#1336) * Support Laravel 8 * Fix factories * Apply fixes from StyleCI (#1337) * fix tests Co-authored-by: Taylor Otwell <taylorotwell@gmail.com> commit 8b41a82aa9c1a16df0416a16c9d009c401e4f3d3 Merge: 29f137a 98ad679 Author: Dries Vints <dries@vints.io> Date: Tue Aug 25 19:32:39 2020 +0200 Merge branch '9.x' into master commit 29f137a74ccd225c9e7efc70d649f0f655928728 Author: Antonio Pauletich <antonio.pauletich95@gmail.com> Date: Fri Aug 21 15:08:09 2020 +0200 Use only one PSR7 implementation (#1330) commit 98ad6792287dd0025482d58eb39e38e420c2f86a Author: Antonio Pauletich <antonio.pauletich95@gmail.com> Date: Thu Aug 20 21:23:48 2020 +0200 Allow PHPUnit 9 (#1328) commit 7792cd6eebb4a5b7870862d212b0f70253db587f Author: Antonio Pauletich <antonio.pauletich95@gmail.com> Date: Thu Aug 20 21:23:33 2020 +0200 Use newer Github actions (#1329) commit bc0aca315b84c7d59abf925d6f4cee43a388fee3 Author: Antonio Pauletich <antonio.pauletich95@gmail.com> Date: Thu Aug 20 15:47:52 2020 +0200 Remove Guzzle dependency (#1327) commit 6d4393e3be8b2ffb8a9e3c270f6ca3b534f0ccf9 Author: Dries Vints <dries@vints.io> Date: Fri Aug 7 22:57:40 2020 +0200 Remove old static personal client methods (#1325) commit 995b3f21bc5e7f3231e1c86dafa44670ada57430 Merge: 7b1f73f fcb7654 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 21:30:13 2020 +0200 Merge branch '9.x' commit fcb7654e600f3c6afef880f82be5eafd0d6883b0 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 21:29:56 2020 +0200 Update CHANGELOG.md commit 7b1f73f609c5fd4a0b6827da6980938379ef9cae Merge: a3bfbb8 192fe38 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 20:36:27 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 192fe387c1c173c12f82784e2a1b51be8bd1bf45 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 20:34:39 2020 +0200 Update CHANGELOG.md commit 75f1ad218ddf4500f2beb9e5c2fb186530e8ddb6 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 20:32:31 2020 +0200 Update composer.json commit e5a91cef7e89e840d1c8fdb3df826672c7379753 Merge: 38d9ee0 4977c82 Author: Dries Vints <dries@vints.io> Date: Mon Jul 27 20:30:10 2020 +0200 Merge pull request #1322 from laravel/cookie-fixes fix cookie handling for security release commit 4977c8268bd3f84b1d2a4a00cd2b8a7ed3bdf666 Author: Taylor Otwell <taylor@laravel.com> Date: Mon Jul 27 13:16:41 2020 -0500 Apply fixes from StyleCI (#1321) commit de6ae4b12ec3b9497c3d4193a5d8994482d00769 Author: Taylor Otwell <taylorotwell@gmail.com> Date: Mon Jul 27 13:16:19 2020 -0500 fix cookie handling for security release commit a3bfbb87e9a61d9a3d4f66eee071f672f62cd849 Merge: d440355 38d9ee0 Author: Dries Vints <dries@vints.io> Date: Tue Jul 21 17:18:55 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 38d9ee08974fed5d41376a52a994eaca615138a4 Author: Dries Vints <dries@vints.io> Date: Tue Jul 21 17:16:20 2020 +0200 Update CHANGELOG.md commit f09aee52e807c6c884a1d5834a61df899ea8276f Author: TARMIZI SANUSI <realtarmizisanusi@gmail.com> Date: Thu Jul 16 20:45:59 2020 +0800 Apply table responsive on table class (#1318) commit 248b95adf0a9019f12d0d62c5dcfa7eac0febeab Author: Martin Hettiger <martin@hettiger.com> Date: Tue Jul 14 20:32:36 2020 +0200 Use custom models in purge command if set (#1316) commit 98b4425aefa81a9c0e6a8746330652c1a27e5ae4 Merge: 5e36561 f0bd801 Author: Dries Vints <dries@vints.io> Date: Thu Jul 9 16:28:48 2020 +0200 Merge pull request #1314 from laravel/driesvints-patch-1 Update tests.yml commit f0bd801f0cc646aff7d5d849c8397c4b31f586c5 Author: Dries Vints <dries@vints.io> Date: Thu Jul 9 16:26:39 2020 +0200 Update tests.yml commit d440355e8388b6a4335b52488cdcde3bbd7c5353 Merge: 4d510ee 5e36561 Author: Dries Vints <dries@vints.io> Date: Tue Jul 7 17:50:32 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 5e3656187a56ad49eeaa9afe804f417f2e6db844 Author: Dries Vints <dries@vints.io> Date: Tue Jul 7 17:49:46 2020 +0200 Add index to access_token_id column commit 52fc782d8013e27c53f9dd1bfba66e0c42fdb3db Author: Dries Vints <dries@vints.io> Date: Tue Jul 7 17:06:30 2020 +0200 Update CHANGELOG.md commit 5654ce8211528cfcbb53c395d86955ebfe66c37d Author: Dries Vints <dries@vints.io> Date: Mon Jul 6 18:39:05 2020 +0200 Match property sequence commit 4d510ee5e2cd1481233762ab18465bfcb15b8b72 Merge: f66b981 724acae Author: Dries Vints <dries@vints.io> Date: Tue Jun 30 22:23:00 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 724acaea99204728a1baf7b9b730bf97debbf94c Author: Dries Vints <dries@vints.io> Date: Tue Jun 30 22:17:21 2020 +0200 Update CHANGELOG.md commit 9c138a740dd6369c6ab3b64126d1086723bf94ef Merge: 7ddaa0f 5599571 Author: Dries Vints <dries@vints.io> Date: Tue Jun 30 14:22:24 2020 +0200 Merge pull request #1311 from ankurk91/patch/guzzle-7 Allow guzzle v7 commit 5599571d410656e68d3be1cd4b35b3e811737814 Author: Ankur Kumar <ankurk91@users.noreply.github.com> Date: Tue Jun 30 17:44:11 2020 +0530 Allow guzzle v7 commit 7ddaa0fa6ff5c100cf755bf85d86886e0edcb0e8 Author: Dries Vints <dries@vints.io> Date: Thu Jun 25 14:36:25 2020 +0200 Update CHANGELOG.md commit f984a7f557ad38f55287322b6143071a5f61a40d Author: Dries Vints <dries@vints.io> Date: Fri Jun 19 15:40:04 2020 +0200 Fix maxlength for token names (#1300) commit 63c8b6645b2503af10ae3f64938c12b2790ac753 Author: 白俊遥 <baijunyao@baijunyao.com> Date: Thu Jun 11 22:45:14 2020 +0800 Improve `passport:install` command (#1294) commit f66b981857d8d093ee3f7b617fa6761b42950e6b Author: Dries Vints <dries@vints.io> Date: Fri Jun 5 15:38:42 2020 +0200 Apply fixes from StyleCI (#1292) commit c242d48085ad59663e6d3a7302cb0fabfbbc79b3 Author: Dries Vints <dries@vints.io> Date: Fri Jun 5 15:38:22 2020 +0200 Apply fixes from StyleCI (#1291) commit 051a4ce9403899549009fb31932189d84e7e6166 Merge: e2ef985 7359e38 Author: Dries Vints <dries@vints.io> Date: Fri Jun 5 15:38:18 2020 +0200 Merge branch '9.x' commit 7359e3842fff1d795a76c91e81259f74f9a1bdd6 Author: Dries Vints <dries@vints.io> Date: Fri Jun 5 15:37:50 2020 +0200 Cleanup tests commit ab0f5be76ec7fec6d08c5c8bb9467bca7023430b Merge: 80b2f7b 0c20f31 Author: Dries Vints <dries@vints.io> Date: Thu Jun 4 09:28:14 2020 +0200 Merge pull request #1290 from PanjiNamjaElf/9.x Fix typo on param doc commit 0c20f3165406843956768f1bfa9400fbafb78ca5 Author: Panji Setya Nur Prawira <PanjiNamjaElf@users.noreply.github.com> Date: Thu Jun 4 07:28:50 2020 +0700 Fix typo on param doc commit 80b2f7b2b021a877888e3df178ae24cf68b614ed Merge: 0931d75 d2d157a Author: Dries Vints <dries@vints.io> Date: Wed May 27 14:49:32 2020 +0200 Merge pull request #1287 from corbosman/9.x correct test name commit d2d157aaf1806ddb64a2f957ab0e0fb436fd3dda Author: Cor Bosman <cor@xs4all.net> Date: Wed May 27 12:34:26 2020 +0200 correct test name commit e2ef9850268161aa1b9decba33758b04e5eab0da Merge: ce4c53c 0931d75 Author: Dries Vints <dries@vints.io> Date: Thu May 14 10:26:35 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 0931d75235283d651b767d291a79cafba5d6ce68 Author: Dries Vints <dries@vints.io> Date: Thu May 14 10:24:43 2020 +0200 Update CHANGELOG.md commit bedf02c8bb8fb9ca373e34f0ceefb2e8c5bf006b Author: Dries Vints <dries@vints.io> Date: Thu May 14 10:21:57 2020 +0200 Fix HashCommand commit b8657e39c28e3d4a44dfa313688a028ea5a998e0 Author: Taylor Otwell <taylorotwell@gmail.com> Date: Wed May 13 09:11:27 2020 -0500 formatting commit 5a5c0cf2da4ef30d055346e3c109ea9b3b654a07 Author: Jordan Hoff <jordan@getflywheel.com> Date: Tue May 12 16:44:09 2020 -0500 Set actingAsClient token client as proper relationship commit ce4c53c55cd0fa9f2482131b0328a12ff3013bc9 Merge: 789bfe1 9f4b881 Author: Dries Vints <dries@vints.io> Date: Tue May 12 22:46:10 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit 9f4b88114e7517db58428cef0ba461f86a2e5f92 Author: Dries Vints <dries@vints.io> Date: Tue May 12 22:45:28 2020 +0200 Update CHANGELOG.md commit 515cc10ba0c80106c9178c0bb964bcabbe51782b Author: Afonso Gloeden <gloedenafonso@gmail.com> Date: Tue May 12 17:35:26 2020 -0300 Nonstandard ID in the token's relationship with the user (#1267) commit 789bfe1b9fab6b3fb47e71ff57e58802dae01620 Author: Geoff Garbers <geoff@garbers.co.za> Date: Tue May 12 15:26:47 2020 +0200 Change to forceFill. Fixes #908. (#1266) commit 343e3ea2e7d6ce4aac2e4c1ec5bde5aa27cd1762 Merge: 36acc84 7ab3bdb Author: Taylor Otwell <taylorotwell@gmail.com> Date: Mon May 11 10:11:11 2020 -0500 Merge branch 'add-models-database-connection-config' into 9.x commit 7ab3bdbdb9bf162f2da9d8c445523dc63c862248 Author: Taylor Otwell <taylorotwell@gmail.com> Date: Mon May 11 10:11:04 2020 -0500 formatting commit 36acc8413d6eada8877d43e2ee71851a7a511e92 Author: Taylor Otwell <taylorotwell@gmail.com> Date: Mon May 11 08:54:33 2020 -0500 wording commit 610cf06e3bd2b9c45abf366d88fd5083e85caa9d Author: Dries Vints <dries@vints.io> Date: Mon May 11 15:51:45 2020 +0200 [9.x] Update UPGRADE.md (#1265) * Update UPGRADE.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 555e02c212022393888cbd4e902b327e9ec9ad7a Author: antonkomarev <ell@cybercog.su> Date: Fri May 8 03:02:51 2020 +0300 Allow to change Models database connection commit ca0e68378d434a78bdb2eeb7ba2ca630868f0842 Merge: c274e92 d9bc3fa Author: Dries Vints <dries@vints.io> Date: Fri May 8 17:11:58 2020 +0200 Merge pull request #1261 from aaronhuisinga/9.x Match name of personal access token methods to config commit d9bc3fa5f4b19fd15e42380048ff686ffcce0f3b Author: Aaron Huisinga <aaron@platform.marketing> Date: Fri May 8 10:08:09 2020 -0500 Match name of personal access token methods to config The config values included in passport.php don't match those shown in the upgrade guide for personal access tokens in v9.1. This matches the values with those in the config file. commit c274e928a9f43d517b9887446288d3129b1543f9 Author: Dries Vints <dries@vints.io> Date: Fri May 8 15:55:52 2020 +0200 Update CHANGELOG.md commit ab797a3557c29f1eae7976a7cdec43ce0947295a Author: Dries Vints <dries@vints.io> Date: Fri May 8 15:51:17 2020 +0200 [9.x] Implement secret modal (#1258) * Implement secret modal * Add upgrade note on vue assets * Revert change * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 2c24ae40239f17e6689830b8243eec7ebc140582 Author: Dries Vints <dries@vints.io> Date: Fri May 8 15:50:58 2020 +0200 Update UPGRADE.md commit 07b5f1140dcc494aa366da81140a46b9b3636d45 Author: Dries Vints <dries@vints.io> Date: Fri May 8 15:49:40 2020 +0200 [9.x] Warn about one-time-hashed-secret (#1259) * Warn about one-time-hashed-secret * Update ClientCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 03e4e516b6a0986e0557b11dd96ea2b180b1c3dd Author: Taylor Otwell <taylorotwell@gmail.com> Date: Fri May 8 08:47:23 2020 -0500 formatting commit e46ebc5f58e45bb865e4a3fb6037b03f7836ffc8 Author: Dries Vints <dries@vints.io> Date: Fri May 8 13:50:30 2020 +0200 Implement personal access client config commit 08bf38969087997de027068a0ab76db45e09a638 Author: Dries Vints <dries@vints.io> Date: Fri May 8 11:16:02 2020 +0200 Fix updating clients in Vue commit e82a6d2731c34d4dbea3bf19ce6c363f3980358e Author: Aaron Huisinga <aaron@platform.marketing> Date: Thu May 7 16:10:18 2020 -0500 Add force option to hash command (#1251) commit 367dc447709872ba6f571d3931e9093a779794e6 Merge: fedcf05 a368f9e Author: Dries Vints <dries@vints.io> Date: Wed May 6 19:13:36 2020 +0200 Merge branch '9.x' # Conflicts: # CHANGELOG.md commit a368f9e079b6c52a8c6aa17f7dce3d98c0a61102 Author: Dries Vints <dries@vints.io> Date: Wed May 6 19:12:38 2020 +0200 Fix tests commit 25552e0bad280f5f5b778f54b8f5e895b18bf7e5 Author: Dries Vints <dries@vints.io> Date: Wed May 6 19:11:56 2020 +0200 Update CHANGELOG.md commit aff9d0933737354d04df98cfc431fa20309be03a Author: Dries Vints <dries@vints.io> Date: Wed May 6 19:08:52 2020 +0200 Fix create client call commit 32e5a6a2c11a53676bb12e65bc2eed7963ab8405 Author: Bill Riess <billriess86@gmail.com> Date: Wed May 6 12:56:23 2020 -0400 Moved provider check to bearer token only (#1246) commit 586fc5a260e923e1dd7028d9c53a94ceb47c52dc Author: Dries Vints <dries@vints.io> Date: Wed May 6 17:45:45 2020 +0200 Fix displaying secret in Vue component (#1244) commit fedcf05274a6bea76f7868119ded693995fdf481 Merge: 81c92b0 7183f24 Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:46:24 2020 +0200 Merge branch '9.x' commit 7183f2448c160650f9fa60937eb22b0f2bdb54d6 Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:46:08 2020 +0200 Update CHANGELOG.md commit 81c92b0ecb43ace27e73d325dad6a7b682a5b1e3 Merge: 9687b55 683becd Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:44:26 2020 +0200 Merge branch '9.x' commit 683becd29508ca4a26451715cc2c393d39a7a1ec Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:44:02 2020 +0200 Update CHANGELOG.md commit a9043df2aa2a7ee8d2350269f179576867d5f2ec Author: Taylor Otwell <taylorotwell@gmail.com> Date: Tue May 5 14:41:02 2020 -0500 fix hashing name commit 1176eb516c0501435862851a48adece9ca6fdcb4 Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:35:31 2020 +0200 [9.x] Update UPGRADE.md (#1240) * Update UPGRADE.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> commit b9764582d06dd2327eb4d1d267c4dfe7861ceb5a Author: Taylor Otwell <taylor@laravel.com> Date: Tue May 5 14:27:11 2020 -0500 Apply fixes from StyleCI (#1242) commit 7a397176163994d4a74dc16b34c0cf29c7712af2 Author: Dries Vints <dries@vints.io> Date: Tue May 5 21:26:53 2020 +0200 [9.x] Implement passport:hash command (#1238) * Implement passport:hash command * Skip records which are already hashed * Fix client command when hashing secrets * Use password_get_info * Update HashCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> commit 69ccc344ae7bb5fd24e503bbb1528724eec4544f Author: Dries Vints <dries@vints.io> Date: Tue May 5 17:19:43 2020 +0200 Update CHANGELOG.md commit ceecafa6b034569cb727791b086678adf8d3ee3a Merge: 099d23a a8ce201 Author: Dries Vints <dries@vints.io> Date: Tue May 5 17:02:45 2020 +0200 Merge pull request #1236 from laravel/remove-old-jwt-versions [9.x] Drop support for old JWT versions commit 099d23a25ef336371c8341d9d5fc4854cc069a7e Merge: 1d508bb 8a63623 Author: Dries Vints <dries@vints.io> Date: Tue May 5 17:02:37 2020 +0200 Merge pull request #1237 from laravel/update-league-server-dependency [9.x] Bump league server dependency commit 8a63623e0b177a86b2266d4b52391ea12e0c2067 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:58:37 2020 +0200 Bump league server dependency commit a8ce2011b204ce9803b66b5a1128c33289489b63 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:55:39 2020 +0200 Drop support for old JWT versions commit 9687b554fd9341f42b552de1bd38ce17d18c9698 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:50:58 2020 +0200 Update branch-alias commit d538b53403086788568b24d10a88b20332cb2b07 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:50:46 2020 +0200 Update CHANGELOG.md commit 1d508bbe745b089994ec468666be560708fed11d Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:49:05 2020 +0200 Update CHANGELOG.md commit 933241b190097e0ddf13a3a52d17ad31de3d54d0 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:32:45 2020 +0200 Remove deprecated functionality (#1235) commit bc39485866a663a3d7d76c82add27c19d09492ef Merge: 11d8533 6affa6e Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:28:56 2020 +0200 Merge branch '8.x' # Conflicts: # CHANGELOG.md # src/Client.php commit 6affa6ed600c5f8909385fbae7cf6f8af3db2d39 Author: Dries Vints <dries@vints.io> Date: Tue May 5 16:25:53 2020 +0200 Update CHANGELOG.md commit 6896a17f6db29ae4f928e2bbc350bd30e8ae5014 Author: Taylor Otwell <taylor@laravel.com> Date: Mon May 4 10:58:12 2020 -0500 [8.x] Automatic configuration of client uuids (#1231) Automatic configuration of client UUIDs via passport:install --uuids commit 11d85331caffa96db846ed22dda4170cea219e1c Merge: 4f52c4c cdc37f0 Author: Taylor Otwell <taylorotwell@gmail.com> Date: Tue Apr 28 16:06:43 2020 -0500 Merge branch 'billriess/8.x' commit cdc37f06b592e4349fcf4c473e2c6b2ef91c5abc Author: Taylor Otwell <taylorotwell@gmail.com> Date: Tue Apr 28 16:06:28 2020 -0500 formatting commit e52ceba1d3e9791d387935c2cd57e3eb7be10cee Author: Taylor Otwell <taylor@laravel.com> Date: Tue Apr 28 15:14:30 2020 -0500 Update Client.php commit 3e46d5918c871adda54842bc359fcf42d7550856 Author: Bill Riess <billriess86@gmail.com> Date: Mon Apr 27 06:19:37 2020 -0400 StyleCI + validation tweak commit 7569525d6da44402148359cc0329d2397f9d3195 Author: Bill Riess <billriess86@gmail.com> Date: Mon Apr 27 06:14:05 2020 -0400 Fixed tests commit 10d09fe63bc582115e247d32a8fed5ceaca25b12 Author: Dries Vints <dries@vints.io> Date: Mon Apr 27 10:23:05 2020 +0200 Decorate UserProvider with custom class commit 7904a36f4001a1b308200bf0c0f123213c8e348e Author: Bill Riess <billriess86@gmail.com> Date: Sun Apr 26 23:47:54 2020 -0400 Call the validation... commit 834f9a5384163b2e98af1ec9de8e6b0d6f3e4eea Author: Bill Riess <billriess86@gmail.com> Date: Sun Apr 26 23:43:33 2020 -0400 Cleaned up returns, removed redundant code commit 06f6cbd855caa76c07e566c48bdc389a3d7b6424 Author: Bill Riess <billriess86@gmail.com> Date: Sun Apr 26 23:39:22 2020 -0400 Compare models directly on providers. commit 4f52c4cfe21874e5677291a9a598ed35c40973c3 Merge: 95c50cc dd4b1d9 Author: Dries Vints <dries@vints.io> Date: Tue Apr 21 21:27:07 2020 +0200 Merge branch '8.x' # Conflicts: # CHANGELOG.md # src/Http/Middleware/CheckClientCredentials.php # src/Http/Middleware/CheckClientCredentialsForAnyScope.php commit dd4b1d96eb1fe556a6eb2c55c942360364aa02c1 Author: Dries Vints <dries@vints.io> Date: Tue Apr 21 21:24:59 2020 +0200 Update CHANGELOG.md commit 31d5dfc19367443519cdf66c6d26f5ea250ce2f8 Merge: 02e2d83 010b807 Author: Taylor Otwell <taylor@laravel.com> Date: Mon Apr 20 21:21:07 2020 -0500 Merge pull request #1222 from pkostic/8.x Fix 500 Internal Server Error response on validating recently deleted client commit 010b807bcb64038f97858b980ed5c97b4d15bf47 Author: Predarg Kostic <predrag@kostic.in.rs> Date: Mon Apr 20 20:41:56 2…
Redo of #747 - which, it seems, was closed because of ongoing discussions at the time, not because of any technical reasons
What does this PR do?
This PR adds the ability to restrict what scopes a client may request, this can be useful when there is a need to restrict access to certain scopes for some or all of an application's clients.
If there is no scopes column or if it not set the client is allowed to request any scopes that are available, this makes the change backwards compatible. If the scopes column is set, Passport will check if the requested scope is permitted and if it isn't it will be skipped.
Similarly to the way the
grant_types
column works, this PR doesn't add a migration for thescopes
column and devs should add the column themselves if they find they need this feature. Additionally if a developer wants to handle restricting scopes in a totally different way they could do this easily by extending theClient
model and overriding thehasScope
method.