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

Conditional Access fail with Device ID not passed SSO Azure Active Directory #550

Closed
sandrohanea opened this issue Oct 20, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@sandrohanea
Copy link

Description
Hi!
We upgraded one SSO login component from the Internet Explorer Web Browser to WebView2 and it seems some customers are complaining that they cannot log in anymore using SSO: Azure Active Directory.

Version
SDK: any
Runtime: Microsoft Edge WebView2 Runtime - 86.0.622.48
Framework: any
OS: Win10

Repro Steps

  1. Create a project using WebView2 and have WebView2 runtime installed.
  2. Navigate to a Single Sign-On page managed by Azure Active Directory with Conditional Access by the device.

Expected Behavior: The logic finishes as the device is registered to Azure AD.
Actual Behavior: The login fails with a message that the Device ID is empty.

Screenshots
In the logs on our client, they see that the Device ID is not passed and therefore the conditional access fails.
Additional context

@sandrohanea sandrohanea added the bug Something isn't working label Oct 20, 2020
@champnic
Copy link
Member

Are you using the AllowSingleSignOnUsingOSPrimaryAccount option?

@sandrohanea
Copy link
Author

I upgraded to the latest version and AllowSingleSignOnUsingOSPrimaryAccount option worked. Thank you!

@vladponcea
Copy link

vladponcea commented Mar 23, 2023

I upgraded to the latest version and AllowSingleSignOnUsingOSPrimaryAccount option worked. Thank you!

Can you please explain how you set AllowSingleSignOnUsingOSPrimaryAccount to true? I am using a WebView in a Swift app and have the same issue. The Device ID is not passed when signing in with my Azure account.

@champnic
Copy link
Member

Hey @vladponcea - This repo is specifically for the Microsoft WebView2 control, powered by the Edge browser and available on Windows. Is that the control you are referring to when you say "WebView in a Swift app"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants