Skip to content

Refactor AzureBotUserAuthorization to not rely on exceptions as a signal #717

@ceciliaavila

Description

@ceciliaavila

Description

We should refactor the AzureBotUserAuthorization (and below) to not rely on exceptions as a signal. i.e., Throw an exception to indicate ConsentRequired, or Timeout. Those should be return values.

The challenge is that base OAuthFlow exists for back-compat with Dialog.OAuthPrompt. So that would require some consideration and refactoring elsewhere. One option might be to have OAuthPrompt use that handler.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions