MicrosoftEdge / MicrosoftEdge/WebView2Feedback

I need to be able to set "AllowSingleSignOnUsingOSPrimaryAccount = true" for single sign on in a UWP app

Open
#4,103 18 comments 1 reaction 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Describe the feature/enhancement you need

I read the below and it appears I can't do this today. It seems like a pretty critical feature especially with the "Device ID" block for Azure AD. Please let me know if there is a work around for a C# UWP app that wants to use WebView2 with Single Sign On.

API limitations

The following classes aren't accessible in WinUI 2 or WinUI 3:

  • CoreWebView2EnvironmentOptions
  • CoreWebView2ControllerOptions
The scenario/use case where you would use this feature

This would allow application users to automatically sign into a modern application. Not having this feature means that I have to revert to building a .NET WPF app. I don't think that's the direction you want developers to go.

How important is this request to you?

Critical. My app's basic functions wouldn't work without it.

Suggested implementation

Fix this:

API limitations

The following classes aren't accessible in WinUI 2 or WinUI 3:

  • CoreWebView2EnvironmentOptions
  • CoreWebView2ControllerOptions
What does your app do? Is there a pending deadline for this request?

Access an internal site that I don't own but requires corporate AAD to access. ASAP

AB#48742778

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.