From e0ea7275f725b3b4f9f36eed32459a522f084a85 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Fri, 7 Aug 2020 19:01:29 +0200 Subject: [PATCH] Fix bug with empty scope --- src/api/oauth/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/oauth/auth.ts b/src/api/oauth/auth.ts index e5efa98..6f4c4e2 100644 --- a/src/api/oauth/auth.ts +++ b/src/api/oauth/auth.ts @@ -91,7 +91,7 @@ const GetAuthRoute = (view = false) => response_type, client_id, redirect_uri, - scope, + scope = "", state, nored, } = req.query;