File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public function jwks(ProviderRepository $providerRepository)
8585 // ];
8686
8787 } else {
88- $ pkey = openssl_pkey_get_details (openssl_pkey_get_public ($ crypt ->getKeyPath ()));
88+ $ pkey = openssl_pkey_get_details (openssl_pkey_get_public ($ crypt ->getKeyContents ()));
8989 }
9090
9191 $ result ['n ' ] = $ this ->base64WebSafe ($ pkey ['rsa ' ]['n ' ]);
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ public function testUserinfoBasic()
9292
9393 $ config = Configuration::forAsymmetricSigner (
9494 new Sha256 (),
95- InMemory::file ($ keyRepository ->getPrivateKey ()->getKeyPath ()),
96- InMemory::file ($ keyRepository ->getPrivateKey ()->getKeyPath ())
95+ InMemory::plainText ($ keyRepository ->getPrivateKey ()->getKeyContents ()),
96+ InMemory::plainText ($ keyRepository ->getPrivateKey ()->getKeyContents ())
9797 );
9898
9999 $ token = $ config ->builder ()
You can’t perform that action at this time.
0 commit comments