Skip to content

Commit

Permalink
fix: use PKCS8 by default for ID token verify (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
marickvantuil committed Aug 23, 2023
1 parent b8e4dad commit 0c3a1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AccessToken.php
Expand Up @@ -408,7 +408,7 @@ private function loadPhpsecPublicKey(string $modulus, string $exponent): string
$exponent
]), 256),
]);
return $key->toString('PKCS1');
return $key->toString('PKCS8');
}

/**
Expand Down

0 comments on commit 0c3a1be

Please sign in to comment.