An error occurred during login: sub claim is missing from userinfo endpoint

Yes, but for find the mistake, a convert completly in .Net5

auth0-WinFormsWPF-oidc-samples-master with replace webbrowser in DLL with the real WebBrowser in System.Windows.Forms

And I find your Nuget source code in your Git repository for:
IdentityTokenValidator
OidcClient

Ok for me, but not really easy for beginner