Integrate Auth0 in a .NET Core MVC application

I try to integrate a basic user authentication in a .NET Core MVC application following the examples on this website. There is no problem to authenticate myself in the sample app running on my personal laptop. However, when I run the same app on my work laptop I get this error:

InvalidOperationException: IDX20803: Unable to obtain configuration from: ‘https://blah-blah-blah.us.auth0.com/.well-known/openid-configuration’. Will retry at ‘3/15/2024 2:31:54 PM +00:00’. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: ‘[PII of type ‘System.String’ is hidden. For more details, see Bing]’.
—> System.Net.Http.HttpRequestException: An error occurred while sending the request.

The error is triggered when the application runs:

await HttpContext.ChallengeAsync(Auth0Constants.AuthenticationScheme, authenticationProperties);