ASP.Net Core 2.0: handling email_verified == false

I am using your [ASP.NET Core 2.0 example code](] to authenticate users. I want to capture the error that the user has not verified their email address.

I have added the Scope “email” to your code in the OnCreatingTicket event, so I now have the email_verified property. But I don’t know how to redirect to a error handling action from inside the OnCreatingTicket event. Please could you advise me on the correct way to handle this error.

1 Like

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?