Skip to content

Commit

Permalink
Add prompt=none to skip auth screen if a user has logged in before
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Sep 6, 2023
1 parent ddabf1b commit dd017ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/router/auth-redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export default (app, mainDomain) => ([
client_id: import.meta.env.VITE_DISCORD_CLIENT_ID,
redirect_uri: `${mainDomain}/auth/discord/return`,
response_type: "code",
scope: ["identify"].join(" ")
scope: ["identify"].join(" "),
prompt: "none"
};

const stringParams = Object.entries(params)
Expand Down

0 comments on commit dd017ab

Please sign in to comment.