From 697dc67bfc2dde021bd46d63028c9b0ad77fccf6 Mon Sep 17 00:00:00 2001 From: Vincent GS Date: Fri, 21 Jul 2023 22:48:44 -0600 Subject: [PATCH] Update passport.blade.md Including additional configuration information, to prevent `invalid key set` issue. --- source/docs/v3/integrations/passport.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/integrations/passport.blade.md b/source/docs/v3/integrations/passport.blade.md index 4339029..5af51c4 100644 --- a/source/docs/v3/integrations/passport.blade.md +++ b/source/docs/v3/integrations/passport.blade.md @@ -41,7 +41,7 @@ To use Passport inside the tenant part of your application, you may do the follo ``` -5. If you're using Passport 11.x, disable the automatic Passport route registering in your `AuthServiceProvider` by adding `Passport::ignoreRoutes();` to the `register()` method. Then, register the Passport routes manually by adding the following code to the `boot()` method: +5. If you're using Passport 11.x, disable the automatic Passport route registering in your `AuthServiceProvider` by adding `Passport::ignoreRoutes();` to the `register()` method. Additionally, you should provide a static path for your keys, otherwise, your tenancy storage resolver will override the default place to tenant space, do this by adding a `Passport::loadKeysFrom(storage_path());`. Then, register the Passport routes manually by adding the following code to the `boot()` method: ```php Route::group([