Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Customize or close default browser window after successful authentication #42

Open
GruberMarkus opened this issue Sep 30, 2021 · 1 comment

Comments

@GruberMarkus
Copy link

When acquiring a token with Get-MsalToken (latest version) using the default browser, a browser window stays open.

This windows shows the RedirectionUri as address (http://localhost:62867/?code=...), and the site contains only the text "Authentication complete. You can return to the application. Feel free to close this browser tab.".

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 window, to add information to it or to close it automatically?

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
Copy link
Contributor

This customization is possible in the latest MSAL.NET versions so I could look into adding something here in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants