Skip to content

Commit

Permalink
updated config name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron van der Heijden committed Mar 16, 2021
1 parent 6fc7153 commit c500a56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/PassportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}
Expand Down
File renamed without changes.

0 comments on commit c500a56

Please sign in to comment.