Skip to content

Commit

Permalink
Merge pull request #2 from ronvanderheijden/laravel-config
Browse files Browse the repository at this point in the history
updated config name
  • Loading branch information
ronvanderheijden authored Mar 16, 2021
2 parents 6fc7153 + c500a56 commit 3472f12
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 3472f12

Please sign in to comment.