SSO (CloudAPAuthEnabled) not working in CefSharp even with Chrome runtime enabled #5170
petrdrabek
started this conversation in
General
Replies: 2 comments 6 replies
-
Best place to ask would be on https://magpcss.org/ceforum/index.php Last I checked it was done via extension, that was years ago though. https://magpcss.org/ceforum/viewtopic.php?f=6&t=18560 I don't know the current state of play. This isn't likely to be something that can be implemented in cefsharp. CEF would need to add support. |
Beta Was this translation helpful? Give feedback.
4 replies
-
We would love to get this as a part of CefSharp itself. SSO is mandatory nowadays. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When embedding CefSharp we need automatic SSO with Microsoft accounts (Azure AD / MSA).
On a normal Chrome installation this works correctly when the
CloudAPAuthEnabled
policy is set to1
(Enable Microsoft® cloud authentication). Users signed into Windows with a Microsoft account or AzureAD account are automatically signed into Microsoft cloud properties without showing a login dialog.In CefSharp:
CefSharpSettings.RuntimeStyle = CefRuntimeStyle.Chrome;
) was tested.--enable-chrome-browser-cloud-management
were tested.CloudAPAuthEnabled
) are applied correctly for Chrome, but CefSharp ignores them.Expected behavior:
When
CloudAPAuthEnabled=1
is set in Windows policies, CefSharp with Chrome runtime should inherit this behavior and sign the user in automatically, just like Chrome does.Actual behavior:
Even with the same machine/user where Chrome auto-signs in, CefSharp still prompts the user with a Microsoft login dialog.
Steps to reproduce:
CloudAPAuthEnabled
policy.Question / Feature request:
Is there a way to enable
CloudAPAuthEnabled
support in CefSharp (Chrome runtime), or is this functionality intentionally not supported in CEF?If not currently supported, can this be exposed so that embedded Chromium respects the
CloudAPAuthEnabled
policy or can it be somehow set? Possible workaroud?Beta Was this translation helpful? Give feedback.
All reactions