feat: Allow Google sign-in users to choose account

Alternative to https://github.com/outline/outline/pull/1763
This commit is contained in:
Tom Moor
2021-01-03 08:54:47 -08:00
committed by GitHub
parent 9df02d6fd4
commit f799758a6f

View File

@@ -27,7 +27,7 @@ router.get("google", async (ctx) => {
"https://www.googleapis.com/auth/userinfo.profile",
"https://www.googleapis.com/auth/userinfo.email",
],
prompt: "consent",
prompt: "select_account consent",
});
ctx.redirect(authorizeUrl);
});