Skip to content

Commit c8944b0

Browse files
committed
update jwt key to inmemory
1 parent cb47ae9 commit c8944b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Factory/ConfigFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Pdsinterop\Solid\Auth\Factory;
44

5-
use Lcobucci\JWT\Signer\Key;
5+
use Lcobucci\JWT\Signer\Key\InMemory;
66
use League\OAuth2\Server\CryptKey;
77
use Pdsinterop\Solid\Auth\Config;
88
use Pdsinterop\Solid\Auth\Enum\OAuth2\GrantType;
@@ -53,7 +53,7 @@ final public function create() : Config
5353

5454
$keys = new Config\Keys(
5555
new CryptKey($privateKey),
56-
new Key($publicKey),
56+
InMemory::plainText($publicKey),
5757
$encryptionKey
5858
);
5959

0 commit comments

Comments
 (0)