Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Allow user to select GitHub account (#922)
Browse files Browse the repository at this point in the history
Co-authored-by: Geometrically <[email protected]>
  • Loading branch information
PixelBedrock and Geometrically authored Jul 9, 2024
1 parent 5148e27 commit 60edbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/internal/flows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 60edbcd

Please sign in to comment.