AzureAD / MSAL.PS

MIT License
159 stars 29 forks source link

Customize account selection/logon window #41

Open GruberMarkus opened 2 years ago

GruberMarkus commented 2 years ago

When acquiring a token with Get-MsalToken (latest version) without a LoginHint, the user gets presented a browser window with the option to select one of the already logged-in accounts or to log in with another account.

This window does not contain any information which application asks for logon data and for what reasons.

Is there a way to customize this browser windows or to add information to it?

If there is currently no way in MSAL.PS, but in MSAL itself, I would like to propose this as a new feature for MSAL.PS.

Thanks in advance!

jazuntee commented 2 years ago

The login page itself is controlled by Azure AD so MSAL cannot alter that. However, there may be options to customize the popup windows title bar or something. Regardless, this is probably not something that will change. The popup window should also already be a child window of the PowerShell console launching it.