Server Error Status Code 520 during Auth0 Authentication

After entering credentials in my .net 9 blazor (server) app:

We get the following error:

The error in the application event log:
Faulting application name: w3wp.exe, version: 10.0.20348.1, time stamp: 0x405e4c14
Faulting module name: pcre.dll, version: 0.0.0.0, time stamp: 0x63b62f6d
Exception code: 0xc00000fd
Fault offset: 0x0000000000010cee
Faulting process id: 0x2010
Faulting application start time: 0x01dbd43d7c27e0e7
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\System32\inetsrv\pcre.dll
Report Id: a4afff58-86ad-493f-a9f5-b168546e361b

The auth0 logs show:

Successful Login and
Success Exchange Authorization Code for Access Token

There are no issues when using unauthorized pages, so it’s happening during Authentication.

Any assistance would be greatly appreciated. I will post any updates as they occur.

Thank you!

Hi, @ssvpdeveloper, and thank you for your question!

From the nature of the error and the successful login log you received, I would say the error has nothing to do with how you set up authentication with Auth0, and sadly it falls out of the scope of the support I can provide.

What I would do in your situation is check how the Blazor server is configured, adding logs and carefully debugging through the login process.

I wish you a great day!

Sincerely,
Teodor.

Thank you for your attention. I believe it is an auth0 config issue as I can use the application when no authorization is required.