How to avoid Ugly Exception page 'callback'

Please include the following information in your post:

  • Which SDK this is regarding: Net Core
  • SDK Version: Auth0.AspNetCore.Authentication (1.0.3)
  • Platform Version: net6
  • Code Snippets/Error Messages/Supporting Details/Screenshots:

I have enabled ‘Force Email Verification’ rule.
When a user (who does not complete email verification) I am getting ugly exception page ~/callback
as seen in pic
Please let me know how I can Brand the page.

Thanks in advance.
Regards
Harish S
Is this a feature request or bug report? If so, please create an issue directly in the corresponding GitHub repo. The Community SDK category is for general discussion and support.

I also have this same question and I cannot find any proper answers on the internet and also need a solution.
official website