nodes to generate keystore for OIDC-provider #486
Unanswered
piyushSinghalDemo
asked this question in
Q&A
Replies: 1 comment
-
As these are all just plain objects I believe assigning these properties should need no explanation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi , i am upgrading jose package For this in my oidc-provider needs to generate JWKS keystore previously there was option to generate like
const keys = [
jose.JWK.generateSync('RSA', 2048, {
kid: 'sig-rs-0',
use: 'sig',
}),
jose.JWK.generateSync('RSA', 2048, {
kid: 'enc-rs-0',
use: 'enc',
})
.....
.....
]
*******but now in jose v4 i am trying to generate like
const keys = [
await jose.generateKeyPair('PS256',{ extractable: true }),
await jose.generateKeyPair('PS256',{ extractable: true }),
await jose.generateKeyPair('ES384',{ extractable: true }),
.................
];
is there any other related method so that i can get kid & use in key store so that it will work with oidc-provider jwks config.
Beta Was this translation helpful? Give feedback.
All reactions