We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b5525b commit f46946cCopy full SHA for f46946c
.changeset/sharp-knives-guess.md
@@ -0,0 +1,5 @@
1
+---
2
+"@openauthjs/openauth": patch
3
4
+
5
+Add use: sig to jwks.
packages/openauth/src/keys.ts
@@ -71,6 +71,7 @@ export async function signingKeys(storage: StorageAdapter): Promise<KeyPair[]> {
71
const privateKey = await importPKCS8(value.privateKey, value.alg)
72
const jwk = await exportJWK(publicKey)
73
jwk.kid = value.id
74
+ jwk.use = "sig"
75
results.push({
76
id: value.id,
77
alg: signingAlg,
0 commit comments