Skip to content

Commit

Permalink
Merge pull request #4704 from coralproject/fix/CORL-3204-oidc-optionals
Browse files Browse the repository at this point in the history
[CORL-3204] set optional flags on OIDC validator schema
  • Loading branch information
tessalt authored Dec 2, 2024
2 parents 317fe8b + 734a768 commit 7581518
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/src/core/server/services/oidc/oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ export const OIDCIDTokenSchema = Joi.object()
exp: Joi.number().required(),
email: Joi.string().lowercase().email(),
email_verified: Joi.boolean().default(false),
picture: Joi.string(),
name: Joi.string(),
nickname: Joi.string(),
preferred_username: Joi.string(),
picture: Joi.string().optional(),
name: Joi.string().optional(),
nickname: Joi.string().optional(),
preferred_username: Joi.string().optional(),
nonce: Joi.string(),
})
.fork(
Expand Down

0 comments on commit 7581518

Please sign in to comment.