Skip to content

Commit

Permalink
set optional flags on OIDC schema
Browse files Browse the repository at this point in the history
- already set in the existing optional fork
  • Loading branch information
nick-funk committed Nov 28, 2024
1 parent 317fe8b commit 734a768
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 734a768

Please sign in to comment.