Skip to content

Commit

Permalink
upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari committed Oct 8, 2024
1 parent 57204f7 commit 2c76b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ In addition, the `passport.personal_access_client` configuration value, `Laravel

PR: https://github.com/laravel/passport/pull/1778

Passport's JSON API has been deprecated in favor of new Jetstream OAuth features. If you wish, you may continue using deprecated JSON API by setting `Passport::$registersJsonApiRoutes` to `true` within the `boot` method of your application's `App\Providers\AppServiceProvider` class:
Passport's JSON API has been deprecated, as it falls outside the core purpose of Passport as an OAuth2 server implementation. If you wish, you may copy these routes and controllers to your application or continue using deprecated JSON API by setting `Passport::$registersJsonApiRoutes` to `true` within the `boot` method of your application's `App\Providers\AppServiceProvider` class:

public function boot(): void
{
Expand Down

0 comments on commit 2c76b40

Please sign in to comment.