Skip to content

AuthorizationMessageHandler fails to set authenticationstate on error #30927

Closed
@davhdavh

Description

@davhdavh

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions