Update passport.blade.md

Including additional configuration information, to prevent `invalid key set` issue.
This commit is contained in:
Vincent GS 2023-07-21 22:48:44 -06:00 committed by GitHub
parent 691c412076
commit 697dc67bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ```php
Route::group([ Route::group([