From bceea928ac1252ea1c0765ab4967f4e1da200e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 7 Aug 2018 14:56:25 +0200 Subject: [PATCH 1/2] [auth0-js] Add prompt value in AuthorizeOptions --- types/auth0-js/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/auth0-js/index.d.ts b/types/auth0-js/index.d.ts index 62047bae71..e66cd5f712 100644 --- a/types/auth0-js/index.d.ts +++ b/types/auth0-js/index.d.ts @@ -761,6 +761,7 @@ export interface AuthorizeOptions { scope?: string; audience?: string; language?: string; + prompt?: string; } export interface CheckSessionOptions extends AuthorizeOptions { From 63788e8495f897cf6577211cb091a3bdbd1231e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 7 Aug 2018 14:58:02 +0200 Subject: [PATCH 2/2] Update test --- types/auth0-js/auth0-js-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/auth0-js/auth0-js-tests.ts b/types/auth0-js/auth0-js-tests.ts index 79277e04c9..f13599ebae 100644 --- a/types/auth0-js/auth0-js-tests.ts +++ b/types/auth0-js/auth0-js-tests.ts @@ -10,7 +10,8 @@ webAuth.authorize({ scope: 'read:order write:order', responseType: 'token', redirectUri: 'https://example.com/auth/callback', - language: 'en' + language: 'en', + prompt: 'login', }); webAuth.parseHash((err, authResult) => {