diff --git a/src/api/oauth/auth.ts b/src/api/oauth/auth.ts index 6f4c4e2..6e35649 100644 --- a/src/api/oauth/auth.ts +++ b/src/api/oauth/auth.ts @@ -102,7 +102,7 @@ const GetAuthRoute = (view = false) => ); }; - const scopes = scope.split(";"); + const scopes = scope.split(";").filter((e: string) => e !== ""); Logging.debug("Scopes:", scope);