WinForms SDK doesn't work in UAC

I’m using Auth0 in a WinForms application, written in C#.
In the example WinFroms application, when built to “Release”, x64, I open the executable file: “WindowsFormsSample.exe”.
If I run “WindowsFormsSample.exe” in a regular mode, then all is fine.
The issue arises when I run “WindowsFormsSample.exe” in UAC mode (“Run as administrator”): I can log-in, but the external screen displays “OK” and doesn’t close itself.
I did some screen recording, hosted on imgur: https://imgur.com/a/rlvEnQ7

To clarify: the issue is that Auth0 SDK for WinForms seems to fail when executing the program as an administrator (UAC).