From 09a296ea98d19bb99a84e53ee9b2d7412ef39075 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 11 Jul 2021 16:14:38 +0200 Subject: [PATCH] Fix: Do not send hash in redirect_uri Signed-off-by: Knut Ahlers --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 824aaab..c7abf38 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ new Vue({ const params = new URLSearchParams() params.set('client_id', twitchClientID) - params.set('redirect_uri', window.location.href) + params.set('redirect_uri', window.location.href.split('#')[0]) params.set('response_type', 'token') params.set('scope', scopes.join(' '))