RevalidatingAuthenticationStateProvider.ValidateAuthenticationStateAsync is never called #59904
Open
1 task done
Labels
area-blazor
Includes: Blazor, Razor Components
Is there an existing issue for this?
Describe the bug
I believe I have encountered this same issue: #53286.
RevalidatingAuthenticationStateProvider.ValidateAuthenticationStateAsync is never called.
Expected Behavior
ValidateAuthenticationStateAsync should be called every RevalidationInterval.
Steps To Reproduce
Subclass
RevalidatingServerAuthenticationStateProvider
:Register the subclass in the
IServiceCollection
as a scoped service as an implementation class forAuthenticationStateProvider
.Add the
CascadingAuthenticationState
component and anAuthorizedView
to the app:Run the app and observe that
RevalidatingAuthenticationStateProvider.ValidateAuthenticationStateAsync
is never called.Exceptions (if any)
No response
.NET Version
9.0.101
Anything else?
No response
The text was updated successfully, but these errors were encountered: