feat: Allow Google sign-in users to choose account
Alternative to https://github.com/outline/outline/pull/1763
This commit is contained in:
@@ -27,7 +27,7 @@ router.get("google", async (ctx) => {
|
|||||||
"https://www.googleapis.com/auth/userinfo.profile",
|
"https://www.googleapis.com/auth/userinfo.profile",
|
||||||
"https://www.googleapis.com/auth/userinfo.email",
|
"https://www.googleapis.com/auth/userinfo.email",
|
||||||
],
|
],
|
||||||
prompt: "consent",
|
prompt: "select_account consent",
|
||||||
});
|
});
|
||||||
ctx.redirect(authorizeUrl);
|
ctx.redirect(authorizeUrl);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user