Skip to content

Commit

Permalink
chore: fixed an issue where during onboarding, sso kicks in (#18012)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv authored Jan 24, 2025
1 parent fe0226b commit c627c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Stores/client-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c627c5e

Please sign in to comment.