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) => { 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 {