mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-04 03:35:36 +08:00
test: use the jose key type in OIDC signing fixtures
This commit is contained in:
@@ -52,7 +52,7 @@ const verification: Oidc.VerifyOptions = {
|
||||
const generate = Effect.promise(() => jose.generateKeyPair("RS256", { extractable: true }))
|
||||
|
||||
const sign = (
|
||||
key: CryptoKey,
|
||||
key: jose.CryptoKey,
|
||||
data: jose.JWTPayload,
|
||||
header: Partial<jose.JWTHeaderParameters> = {}
|
||||
) =>
|
||||
|
||||
Reference in New Issue
Block a user