Closed
Description
Describe the bug
If _provider.RequestAccessToken
is unable to provide a valid token, the IAccessTokenProvider
API assumes that the RedirectUri
is followed and the authentication flow reapplied. However, the AuthorizationMessageHandler
class throws an exception because it cannot handle that flow.
It should however also inform IAccessTokenProvider
that the current AuthenticationState
is no longer valid.
Further technical details
.Net 6.0 preview 2