Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #5161

Open
iamcloud-curt opened this issue Feb 27, 2025 · 0 comments
Open

[Bug] #5161

iamcloud-curt opened this issue Feb 27, 2025 · 0 comments
Labels
needs attention Delete label after triage public-client untriaged Do not delete. Needed for Automation

Comments

@iamcloud-curt
Copy link

Library version used

4.61.1.0

.NET version

DotNet 8

Scenario

PublicClient - desktop app

Is this a new or an existing app?

The app is in production, I haven't upgraded MSAL, but started seeing this issue

Issue description and reproduction steps

We are experiencing a popup in our WebView2 browser that says "Do you trust domain" (a Microsoft 365) domain confirmation dialog.

Similar to this example: https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/media/home-realm-discovery-policy/domain-confirmation-dialog-new.png

The customer in question uses PingFederate as their IdP - the authorization there looks fine, and when it's signing into Microsoft, they get this do you trust domain pop up.

Via a browser (not our application) it's fine they don't see this pop up.

They have 0 HRD policies configured in Azure.

It's something to do with the application opening WebView2 - as I know it opens in a 'sandbox' mode - I was wondering if they require trusted sites to be passed through. But how can you pass through trusted sites into the MSAL webview2 flow?

Relevant code snippets

Expected behavior

No pop up domain confirmation

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

@iamcloud-curt iamcloud-curt added needs attention Delete label after triage untriaged Do not delete. Needed for Automation labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs attention Delete label after triage public-client untriaged Do not delete. Needed for Automation
Projects
None yet
Development

No branches or pull requests

1 participant