From 90784218240605b2d4a1013d9c1cc107ef2db1e5 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 5 Dec 2022 12:31:09 +0100 Subject: [PATCH] feat: require verification on login --- embedx/config.schema.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/embedx/config.schema.json b/embedx/config.schema.json index 3e931c610a87..09cd07a5db8a 100644 --- a/embedx/config.schema.json +++ b/embedx/config.schema.json @@ -696,6 +696,9 @@ }, { "$ref": "#/definitions/selfServiceWebHook" + }, + { + "$ref": "#/definitions/selfServiceRequireVerifiedAddressHook" } ] }, @@ -782,7 +785,22 @@ "$ref": "#/definitions/selfServiceAfterOIDCLoginMethod" }, "hooks": { - "$ref": "#/definitions/selfServiceHooks" + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/selfServiceWebHook" + }, + { + "$ref": "#/definitions/selfServiceSessionRevokerHook" + }, + { + "$ref": "#/definitions/selfServiceRequireVerifiedAddressHook" + } + ] + }, + "uniqueItems": true, + "additionalItems": false } } },