From 889dae14d52004a73a60725273063e76d5eb077f Mon Sep 17 00:00:00 2001 From: Gabriel Castro Date: Mon, 11 Nov 2019 20:23:33 -0500 Subject: [PATCH] [simple-oauth2] authorizationCode.getToken scope optional (#40310) PR #39940 added scopes as required, they're not --- types/simple-oauth2/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/simple-oauth2/index.d.ts b/types/simple-oauth2/index.d.ts index 8c60a38139..0cec5a0773 100644 --- a/types/simple-oauth2/index.d.ts +++ b/types/simple-oauth2/index.d.ts @@ -77,7 +77,7 @@ export interface AuthorizationTokenConfig { /** A string that represents the callback uri */ redirect_uri: string; /** A string or array of strings that represents the application privileges */ - scope: string | string[]; + scope?: string | string[]; } export interface PasswordTokenConfig {