Handling rejected permissions by user

Hello,

I am creating a .NET8 interactive server blazor application. I haven’t found an answer on how I could handle rejected permissions without getting the OpenIdConnectProtocolException.

Would be very grateful for any help, thanks

Sara

Hi @sara72,

Welcome to the Auth0 Community!

Have you had a chance to review our Add Auth0 Authentication to Blazor Web Apps documentation?

You can use our GitHub - auth0/auth0-aspnetcore-authentication: SDK for integrating Auth0 in ASPNET Core to implement it into your blazor application.

I have also found this reference regarding the OpenIdConnectProtocolException when a user denies resource access which you might find useful.

Best,
Rueben