We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe2575 commit 429436cCopy full SHA for 429436c
src/user/user.routes.js
@@ -42,14 +42,14 @@ router.get(
42
provider: req.user.provider,
43
oauth_id : req.user.oauth_id,
44
});
45
- return res.redirect(`commit://signup?token=${token}`);
+ return res.redirect(`commit://oauth2/callback/google?token=${token}&signupRequired=true`);
46
}
47
token = signJwt({
48
accountId: req.user.accountId,
49
role:req.user.role,
50
51
52
- res.redirect(`commit://oauth2/callback/google?token=${token}`);
+ res.redirect(`commit://oauth2/callback/google?token=${token}&signupRequired=false`);
53
54
);
55
0 commit comments