Skip to content

Commit 56fd14b

Browse files
committed
Merge branch 'alexbilbie-2.0'
2 parents 0d49a15 + 6dc37eb commit 56fd14b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"illuminate/encryption": "~5.4",
2222
"illuminate/http": "~5.4",
2323
"illuminate/support": "~5.4",
24-
"league/oauth2-server": "~5.0",
24+
"league/oauth2-server": "^6.0",
2525
"symfony/psr-http-message-bridge": "~1.0",
2626
"zendframework/zend-diactoros": "~1.0",
2727
"phpseclib/phpseclib": "^2.0"

src/PassportServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function makeAuthorizationServer()
200200
$this->app->make(Bridge\AccessTokenRepository::class),
201201
$this->app->make(Bridge\ScopeRepository::class),
202202
'file://'.Passport::keyPath('oauth-private.key'),
203-
'file://'.Passport::keyPath('oauth-public.key')
203+
app('encrypter')->getKey()
204204
);
205205
}
206206

0 commit comments

Comments
 (0)