Skip to content

Commit

Permalink
Public key for jwt condition is required property
Browse files Browse the repository at this point in the history
  • Loading branch information
vzotova committed Jan 7, 2025
1 parent 83a0945 commit 7f44142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taco/src/conditions/schemas/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const JWTConditionType = 'jwt';

export const jwtConditionSchema = baseConditionSchema.extend({
conditionType: z.literal(JWTConditionType).default(JWTConditionType),
publicKey: z.string().optional(),
publicKey: z.string(),
expectedIssuer: z.string().optional(),
// TODO see https://github.com/nucypher/taco-web/pull/604#discussion_r1901746814
// subject: contextParamSchema.optional(),
Expand Down

0 comments on commit 7f44142

Please sign in to comment.