Merge pull request #27936 from taboulot/patch-4

[auth0-js] Add prompt value in AuthorizeOptions
This commit is contained in:
Ron Buckton
2018-08-08 13:25:33 -07:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

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

View File

@@ -761,6 +761,7 @@ export interface AuthorizeOptions {
scope?: string;
audience?: string;
language?: string;
prompt?: string;
}
export interface CheckSessionOptions extends AuthorizeOptions {