When using office-js to create a dialog window it's possible to configure the size of the window.
Authenticator uses this under the hood, but it's not avaliable to configure for users. Seems to be hardcoded in authenticator.ts:153:
let redirectUrl = await new Dialog<string>(url, 1024, 768, useMicrosoftTeams).result;
Please correct me if I'm wrong.
I propose a change where we either add the params width and height, or an option obj, to either the Authenticator constructor or the authenticate method.
Could possibly change the constructor of Authenticator to just be an option object, but that would be a breaking change.
When using
office-js
to create a dialog window it's possible to configure the size of the window.Authenticator uses this under the hood, but it's not avaliable to configure for users. Seems to be hardcoded in
authenticator.ts:153
:Please correct me if I'm wrong.
I propose a change where we either add the params
width
andheight
, or anoption
obj, to either theAuthenticator
constructor or theauthenticate
method.Could possibly change the constructor of
Authenticator
to just be an option object, but that would be a breaking change.