This commit is contained in:
Vicente G, BSc. 2025-09-25 18:46:45 +01:00 committed by GitHub
commit 7b84116c68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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([