From 00ac3ef87a263e72da430f62106f5edae8e848ff Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sun, 21 Mar 2021 22:26:59 -0400 Subject: [PATCH] feat(api): /login-bounce adds &prompt=none to skip user interaction --- packages/api/handlers/login-bounce.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/handlers/login-bounce.ts b/packages/api/handlers/login-bounce.ts index c889585..00c959b 100644 --- a/packages/api/handlers/login-bounce.ts +++ b/packages/api/handlers/login-bounce.ts @@ -12,7 +12,7 @@ type URLParams = { const buildURL = (params: URLParams) => `https://discord.com/api/oauth2/authorize?client_id=${ params.clientID - }&response_type=code&scope=identify%20guilds&redirect_uri=${encodeURIComponent( + }&response_type=code&scope=identify%20guilds&prompt=none&redirect_uri=${encodeURIComponent( params.redirectURI )}&state=${params.state}`;