From 23d89d79b11ae6b89a799c32544ec1f92c88df73 Mon Sep 17 00:00:00 2001 From: Lionell Briones Date: Mon, 13 Apr 2026 14:26:41 +0800 Subject: [PATCH 1/2] add require consent to whitelabel data --- src/utils/interfaces.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/utils/interfaces.ts b/src/utils/interfaces.ts index ccbc5c57..9cad2ade 100644 --- a/src/utils/interfaces.ts +++ b/src/utils/interfaces.ts @@ -258,6 +258,11 @@ export type WhiteLabelData = { * privacyPolicy: http://example.com/privacy */ privacyPolicy?: string; + /** + * Whether to require consent for the user to login. + * @defaultValue false + */ + requireConsent?: boolean; }; export type AuthConnectionConfigItem = { From beedf40951c39e990a94487246e6abc177baee1c Mon Sep 17 00:00:00 2001 From: Lionell Briones Date: Mon, 13 Apr 2026 14:35:28 +0800 Subject: [PATCH 2/2] consentRequired --- src/utils/interfaces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/interfaces.ts b/src/utils/interfaces.ts index 9cad2ade..d1d681f3 100644 --- a/src/utils/interfaces.ts +++ b/src/utils/interfaces.ts @@ -262,7 +262,7 @@ export type WhiteLabelData = { * Whether to require consent for the user to login. * @defaultValue false */ - requireConsent?: boolean; + consentRequired?: boolean; }; export type AuthConnectionConfigItem = {