WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

Need Webview2 browser policy to enable Kerberos delegation

Open Kay-Burchardt opened this issue 4 years ago • 23 comments

I am the responsible developer for the Edge control in SAP Business Client. Our customers expect that they can use the same SSO mechanisms in our product as in standalone Edge or Chrome. Some applications, like SAP BI, use SPNEGO/Kerberos delegation. For security reasons, that feature is by default disabled in chromium based browsers, so an allow list has to be provided in the browser policy "AuthNegotiateDelegateAllowlist".

https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#authnegotiatedelegateallowlist

Webview2 ignores Edge browser policies and currently doesn't contain that policy in it's own set of policies. Previous chromium versions offered the command line switch "–auth-negotiate-delegatewhitelist", but afaik it has been removed. So currently we have no chance to pass the allow list.

Please either add "AuthNegotiateDelegateAllowlist" to the set of Webview2 browser policies, or provide an API to set the list programmatically. Maybe it would be a good idea to also cover the full set of Edge Http authentication policies:

https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#http-authentication

AB#44690405

Kay-Burchardt avatar Aug 12 '21 13:08 Kay-Burchardt

Thanks for the feature request @Kay-Burchardt, I've added it to our backlog.

champnic avatar Aug 20 '21 22:08 champnic

Hello, I'm greatly interested in this feature request, especially to get a way to pass AuthServerAllowlist, AuthNegotiateDelegateAllowlist and may be AuthSchemes to Webview2. Webview2 is my best candidate for my project, but is useless if I can't get SSO working. Do you have an idea of a possible release of this feature ? Thanks in advance

lo-lo-o avatar Nov 23 '21 08:11 lo-lo-o

We have the same requirement here. Embedded browsers are mainly needed in enterprise applications. SSO, SPNEGO/Kerberos are essential for this. An application that cannot support this is simply not accepted in professional environments.

Auersberg avatar Apr 01 '22 12:04 Auersberg

Adding another vote for documented support for integrated authentication via WebView2 - say by adhering to policies (which seem to currently work, per #2563 ).

ShaunLoganOracle avatar Sep 15 '22 15:09 ShaunLoganOracle

Hi @champnic It has been a while since this request was added to the backlog. There seems to be a decent amount of interest: #1641, #2563, #2507, #2974. #3315 Can you give all the folks interested in this any update?

fyi @victorthoang

ShaunLoganOracle avatar Apr 12 '23 21:04 ShaunLoganOracle

Hi @ShaunLoganOracle We have begun designing and coordinating dev resources. Will provide further updates as it progresses through the development pipeline.

novac42 avatar Apr 13 '23 07:04 novac42

Hi @champnic It has been a while since this request was added to the backlog. There seems to be a decent amount of interest: #1641, #2663, #2507, #2974. #3315 Can you give all the folks interested in this any update?

fyi @victorthoang

We are still waiting for official support on this item. We really need kerberos support within webview2. The registry settings for kerberos is working but it’s not official supported.

advos avatar Apr 13 '23 12:04 advos

@Kay-Burchardt @ShaunLoganOracle @advos We are considering adding an API to support the auth delegation and integrated authentication scenario so that developers can programmatically set allowlist. Could you please clarify the urgency of this matter so we can accurately assess its priority level?

novac42 avatar May 18 '23 06:05 novac42

@novac42 For my products (Excel add-ins), the lack of documented support for policies that govern Integrated Authentication is a significant gap. As others have pointed out, this kind of support is expected in enterprise applications. Our (Oracle & Microsoft) joint customers need this. As for the specific suggestion to allow programmatic setting of the allowlist: we'd consider that, but would much prefer a policy-based solution like MS Edge uses. For us, the urgency of this issue is less than others our customers are encountering, like #3008 and #3344

ShaunLoganOracle avatar May 18 '23 18:05 ShaunLoganOracle

@novac42 Our software (website) is also used in an enterprise environment in which we don't control the browser. In this case Edge WebView2. The suggested solution is not going to work for us because then we depend on external suppliers if they are willing to set policies via the new API. Fur us, the urgency of this significant high. Customers are migrating from IE (browser control) to Edge (webview2). The requested support for the policies (AuthNegotiateDelegateAllowlist and AuthServerlist) is now working via registry settings. But because it's not official supported some of our customers refuse the implementation.

advos avatar May 19 '23 10:05 advos

@novac42 Usually our customers are cooperative when it comes to work around the current limitations, so any problems could be solved so far. Yet it causes inconvenience for our customers and additional work for our support organization, so we appreciate a proper solution, either by programmatic approach or policy-based.

Kay-Burchardt avatar May 19 '23 11:05 Kay-Burchardt

FWIW, we have another joint (Oracle + Microsoft) customer reporting this issue: MS Edge works fine with their SSO, but not WebView2 (get an unexpected Windows Security popup to enter credentials).

ShaunLoganOracle avatar Jun 05 '23 11:06 ShaunLoganOracle

@novac42 Our software (website) is also used in an enterprise environment in which we don't control the browser. In this case Edge WebView2. The suggested solution is not going to work for us because then we depend on external suppliers if they are willing to set policies via the new API. Fur us, the urgency of this significant high. Customers are migrating from IE (browser control) to Edge (webview2). The requested support for the policies (AuthNegotiateDelegateAllowlist and AuthServerlist) is now working via registry settings. But because it's not official supported some of our customers refuse the implementation.

Hi @advos, if I'm understanding correctly, your product is a web app that need to run on a WebView2 app, and the WebView2 app is developed by an external supplier. Can your customers talk to their external suppliers to implement the new API? On principle it's the recommended way as the admin don't have to know what tech stack the native app is using. However we'd love to understand if there're any blockers in practice, for example the external suppliers have dropped support on the WebView2 app.

novac42 avatar Jun 20 '23 06:06 novac42

@novac42 Our software (website) is also used in an enterprise environment in which we don't control the browser. In this case Edge WebView2. The suggested solution is not going to work for us because then we depend on external suppliers if they are willing to set policies via the new API. Fur us, the urgency of this significant high. Customers are migrating from IE (browser control) to Edge (webview2). The requested support for the policies (AuthNegotiateDelegateAllowlist and AuthServerlist) is now working via registry settings. But because it's not official supported some of our customers refuse the implementation.

Hi @advos, if I'm understanding correctly, your product is a web app that need to run on a WebView2 app, and the WebView2 app is developed by an external supplier. Can your customers talk to their external suppliers to implement the new API? On principle it's the recommended way as the admin don't have to know what tech stack the native app is using. However we'd love to understand if there're any blockers in practice, for example the external suppliers have dropped support on the WebView2 app.

Hi @novac42, Yes, our application is a web app that runs in the browser. Our customers embed our web app in their enterprise application using a WebView2 browser. These applications are from different suppliers and not from 1 specific supplier. This means that we have to talk to all these suppliers (>6) to get this API implemented. We therefore also depend on their cooperation to get security in order.

advos avatar Jul 04 '23 13:07 advos

@advos would you mind sharing which customer this is?

novac42 avatar Jul 13 '23 06:07 novac42

@advos would you mind sharing which customer this is?

@novac42 @ShaunLoganOracle It's an issue for a lot of our customers in the Benelux, France and Dach region. So it's not issue for one customer.. Our customers are typically hospitals including large university hospitals and diagnostic centers.

advos avatar Jul 19 '23 08:07 advos

@advos thanks very much for the info. I'm not very familiar with this field, could you please tell me the major suppliers of the client software they use?

novac42 avatar Jul 24 '23 10:07 novac42

The biggest supplier for EHR/HIS software in the Netherlands is Chipsoft, followed by SAP, Epic and Nexus. Potentially you could see Cerner, Agfa HealthCare, McKesson or Siemens.

SRomeijn avatar Jul 24 '23 14:07 SRomeijn

@novac42 Is there any update on the progress for this issue?

ShaunLoganOracle avatar Apr 18 '24 11:04 ShaunLoganOracle

Do we have any update on this issue and to be clear, Kerberos does not work with Webview2 at the moment?

omoyolab avatar May 31 '24 15:05 omoyolab

@novac42 Our (Oracle and Microsoft) joint customers keep requesting this - any progress?

ShaunLoganOracle avatar Jan 21 '25 16:01 ShaunLoganOracle

Glad to see that this issue has been assigned to someone at MSFT. Is there any progress update we can share with our customers?

ShaunLoganOracle avatar Aug 12 '25 14:08 ShaunLoganOracle

Is there any update on this item? @Lakshmisha-KS @novac42 @victorhuangwq Just tagging you all since you are assigned this issue but there has not been any updates recently on it.

dan-olsen avatar Oct 17 '25 22:10 dan-olsen