diff --git a/web-assets/auth0/dev-tenant/rules/onboardingChecklist.js b/web-assets/auth0/dev-tenant/rules/onboardingChecklist.js index 4f195e5..039b6b6 100644 --- a/web-assets/auth0/dev-tenant/rules/onboardingChecklist.js +++ b/web-assets/auth0/dev-tenant/rules/onboardingChecklist.js @@ -28,13 +28,13 @@ function (user, context, callback) { handle = _.get(user, "nickname", null); } - if (handle == null) { - return callback(); - } - - console.log("rule:onboarding-checklist: fetch onboarding_checklist for email/handle: ", user.email, handle, provider); + // TODO: Properly fetch handle for social logins + if (handle == null || isSocial) { + return callback(null, user, context); + } + const createdAt = _.get(user, "created_at", null); const thresholdDate = moment(configuration.PROFILE_CREATION_DATE_THRESHOLD, "YYYY-MM-DD");