diff --git a/src/PassportServiceProvider.php b/src/PassportServiceProvider.php index ccabadd..6e6da48 100644 --- a/src/PassportServiceProvider.php +++ b/src/PassportServiceProvider.php @@ -200,7 +200,7 @@ public function makeAuthorizationServer() $this->app->make(Bridge\AccessTokenRepository::class), $this->app->make(Bridge\ScopeRepository::class), 'file://'.Passport::keyPath('oauth-private.key'), - 'file://'.Passport::keyPath('oauth-public.key') + app('encrypter')->getKey() ); }