79083921

Date: 2024-10-13 19:05:30
Score: 0.5
Natty:
Report link

I found the problem: i was previously using a CustomAuthenticationStateProvider and i forgot to remove it from the application builder:

builder.Services.AddScoped<AuthenticationStateProvider, CustomAuthenticationStateProvider>();

This is overwriting, as inteded i guess, any other state coming from a different authentication flow.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: John