fix: make sure thumbPrint is a string
This commit is contained in:
@@ -123,7 +123,7 @@ const setup = (jwksOrigin) => {
|
|||||||
return {
|
return {
|
||||||
privateKey: forge.pki.privateKeyToPem(privateKey),
|
privateKey: forge.pki.privateKeyToPem(privateKey),
|
||||||
certDer: certDer,
|
certDer: certDer,
|
||||||
thumbPrint: thumbprint,
|
thumbPrint: thumbprint.toString(),
|
||||||
exponent: bnToB64(exponent),
|
exponent: bnToB64(exponent),
|
||||||
modulus: modulus.toString('base64')
|
modulus: modulus.toString('base64')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user