What is Blazor? A Tutorial on Building Web Apps with Authentication

I’ve added another OpenIdConnectEvents handler:

      OnRedirectToIdentityProvider = (context) => 
      {
          Console.WriteLine(context.HttpContext.Connection.Id);
          return Task.CompletedTask;
      },

This one gets called, so event registration seems to work in general, just the call to “OnRedirectToIdentityProvider” does not take place…