From 2c76b40a0fa84ea9e956e5556e85aa3eeefd560c Mon Sep 17 00:00:00 2001 From: Hafez Divandari Date: Tue, 8 Oct 2024 13:30:11 +0330 Subject: [PATCH] upgrade guide --- UPGRADE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 358199b4..61c87edd 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -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 {