The WinForms client creates an extra folder WebView2 in the application directory. This is fine on a developer’s machine where the user has full control, but for most users the Program Files folder is highly protected, and for good reason.
Is there a way to configure the WinForms client to write these files to a different location, preferably the local temp directory?
HI @Grant.Fish
Welcome to the Auth0 Community!
Unfortunately, this issue would be outside of our scope since it is related to WebView2 configuration rather than being an Auth0 related issue.
My recommendation for the issue that you are experiencing would be to provide a custom browser implementation that initializes the WebView2. Basically, you would need to create a custom browser class where you will be using your desired path. You should be able to find more information on the matter in this documentation.
Kind Regards,
Nik