diff --git a/README.md b/README.md index 271e0b8..b31338c 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ class IdentityEntity implements IdentityEntityInterface ### Publishing the config ```sh -php artisan vendor:publish --tag=openidconnect +php artisan vendor:publish --tag=openid ``` In this config, you can change the default scopes, add custom claim sets and change the repositories. diff --git a/src/Laravel/PassportServiceProvider.php b/src/Laravel/PassportServiceProvider.php index 0c49388..c728047 100644 --- a/src/Laravel/PassportServiceProvider.php +++ b/src/Laravel/PassportServiceProvider.php @@ -33,8 +33,8 @@ public function boot() parent::boot(); $this->publishes([ - __DIR__ . '/config/openidconnect.php' => $this->app->configPath('openidconnect.php'), - ], ['openidconnect', 'openidconnect-config']); + __DIR__ . '/config/openid.php' => $this->app->configPath('openid.php'), + ], ['openid', 'openid-config']); Passport\Passport::tokensCan(config('openid.passport.tokens_can')); } diff --git a/src/Laravel/config/openidconnect.php b/src/Laravel/config/openid.php similarity index 100% rename from src/Laravel/config/openidconnect.php rename to src/Laravel/config/openid.php