Currently, I create a new Auth0Client and call the LoginAsync() method and the login window shows. When I log in with a user that will violate a rule, the login window closes and the LoginResult object I get back has an undescriptive error message which is just “unauthorized”.
Is there any way I can get the custom error message in the rule to show up as an error in the login window?
If not, is there any way for me to get the custom error message into my WinForms application through the LoginResult object or a different way?
I am using a custom login from hosted by Auth0 using Auth0.js as well as the Auth0.OidcClient.WinForms and Auth0.ManagementAPI NuGet packages.