From 772162238b75261578c93d7599039ed02da2c67f Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Wed, 22 Jan 2025 13:55:01 +0800 Subject: [PATCH] chore: fixed an issue where during onboarding, sso kicks in --- packages/core/src/Stores/client-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Stores/client-store.js b/packages/core/src/Stores/client-store.js index df54d4655e56..721e69bb6620 100644 --- a/packages/core/src/Stores/client-store.js +++ b/packages/core/src/Stores/client-store.js @@ -2244,7 +2244,7 @@ export default class ClientStore extends BaseStore { is_social_signup_provider = true; // NOTE: Remove this logic once social signup is intergated with OIDC const loggedState = Cookies.get('logged_state'); - if (loggedState === 'false') { + if (loggedState === 'false' && !search_params.get('action') === 'signup') { const currentDomain = window.location.hostname.split('.').slice(-2).join('.'); Cookies.set('logged_state', 'true', { expires: 30,