Skip to content

Commit

Permalink
Merge pull request #7 from georgeboot/patch-1
Browse files Browse the repository at this point in the history
Use private key contensts instead of key path
  • Loading branch information
jeremy379 committed Oct 5, 2023
2 parents 3090e75 + 4d0a515 commit 4f96ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/PassportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function makeAuthorizationServer(): AuthorizationServer
new ClaimExtractor(...$claimSets),
Configuration::forSymmetricSigner(
app(config('openid.signer')),
InMemory::file($cryptKey->getKeyPath()),
InMemory::plainText($cryptKey->getKeyContents(), $cryptKey->getPassPhrase() ?? '')
),
config('openid.token_headers'),
config('openid.use_microseconds')
Expand Down

0 comments on commit 4f96ec5

Please sign in to comment.