From e091e4ee39bfe73fb2997524b7e3d7cab19666e5 Mon Sep 17 00:00:00 2001 From: Tim Swalling Date: Wed, 1 Nov 2017 14:36:08 +0000 Subject: [PATCH] Add optional `connection` property to `Popup.authorize` options --- types/auth0-js/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/auth0-js/index.d.ts b/types/auth0-js/index.d.ts index 65c5b55846..76a2c5f319 100644 --- a/types/auth0-js/index.d.ts +++ b/types/auth0-js/index.d.ts @@ -355,6 +355,12 @@ export class Popup { domain: string, /** your Auth0 client identifier obtained when creating the client in the Auth0 Dashboard */ clientId?: string, + /** + * identity provider whose login page will be displayed in the popup. + * If omitted the hosted login page is used. + * {@link https://auth0.com/docs/identityproviders} + */ + connection?: string, /** url that the Auth0 will redirect after Auth with the Authorization Response */ redirectUri: string, /**