0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(core): extraClientMetadata properties (#530)

This commit is contained in:
IceHe.xyz 2022-04-11 14:22:16 +08:00 committed by GitHub
parent 2d5f1196a2
commit 26c3e1fe2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ export default async function initOidc(app: Koa): Promise<Provider> {
},
},
extraClientMetadata: {
properties: Object.keys(CustomClientMetadataKey),
properties: Object.values(CustomClientMetadataKey),
validator: (_, key, value) => {
validateCustomClientMetadata(key, value);
},