Hi,
Currently modernizing a windows desktop application using Auth0.OidcClient.WPF 3.x. Login works as it should but I’ve noticed that some keys e.g tab, enter, ctrl+v have suddenly stopped working in the login page.
The problem started when I wanted to position and resize the form with the login page. I created a WebBrowserBrowser object and passed it with the options to Auth0Client.
To reproduce I 've written a minimal winforms app similar to the one in the quickstart quide. Snippet below:
var browser = new WebBrowserBrowser(() => new Window()
{
Name = “WebAuthentication”,
Title = “Login test”,
Width = 500,
Height = 420,
WindowStartupLocation = WindowStartupLocation.CenterScreen
});var opts = new Auth0ClientOptions { Domain = _domain, ClientId = _clientId, Browser = browser // Setting this causes keys to stop working?! }; _client = new Auth0Client(opts); await _client.LoginAsync();
Am I doing something wrong here? Is this a bug? Keys works as long as you don’t pass any browser in options.
/Niklas