From 60edbcd5f0469951260e6f94caf1a5cb237ab616 Mon Sep 17 00:00:00 2001 From: PixelBedrock <113065795+PixelBedrock@users.noreply.github.com> Date: Tue, 9 Jul 2024 23:12:15 +0100 Subject: [PATCH] Allow user to select GitHub account (#922) Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com> --- src/routes/internal/flows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/internal/flows.rs b/src/routes/internal/flows.rs index bf831544..078d0289 100644 --- a/src/routes/internal/flows.rs +++ b/src/routes/internal/flows.rs @@ -250,7 +250,7 @@ impl AuthProvider { let client_id = dotenvy::var("GITHUB_CLIENT_ID")?; format!( - "https://github.com/login/oauth/authorize?client_id={}&state={}&scope=read%3Auser%20user%3Aemail&redirect_uri={}", + "https://github.com/login/oauth/authorize?client_id={}&prompt=select_account&state={}&scope=read%3Auser%20user%3Aemail&redirect_uri={}", client_id, state, redirect_uri,