Skip to content

Commit

Permalink
Ensure WinForms WebView works in Windows Server (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Jul 13, 2021
1 parent e25e688 commit 5137eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth0.OidcClient.WinForms/WebViewBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Task<BrowserResult> InvokeAsync(BrowserOptions options, CancellationToken
var window = _formFactory();
var webView = new WebViewCompatible { Dock = DockStyle.Fill };

webView.NavigationStarting += (sender, e) =>
webView.NavigationCompleted += (sender, e) =>
{
if (e.Uri.AbsoluteUri.StartsWith(options.EndUrl))
{
Expand Down

0 comments on commit 5137eda

Please sign in to comment.