Skip to content

InteractiveBrowserCredential is unavailable when it can't bind a port#11665

Merged
chlowell merged 2 commits intoAzure:masterfrom
chlowell:ibc-cannot-bind
May 27, 2020
Merged

InteractiveBrowserCredential is unavailable when it can't bind a port#11665
chlowell merged 2 commits intoAzure:masterfrom
chlowell:ibc-cannot-bind

Conversation

@chlowell
Copy link
Copy Markdown
Member

get_token loops over local ports, trying to start an HTTP server on one of them. The credential should raise CredentialUnavailableError when the server fails to bind a port. However, when that happens redirect_uri is unassigned and one gets a different error when get_token references it after the loop.

@chlowell chlowell added Client This issue points to a problem in the data-plane of the library. Azure.Identity labels May 27, 2020
@chlowell chlowell requested a review from xiangyan99 May 27, 2020 23:37
@chlowell chlowell requested a review from schaabs as a code owner May 27, 2020 23:37
@chlowell chlowell merged commit a230e92 into Azure:master May 27, 2020
@chlowell chlowell deleted the ibc-cannot-bind branch May 27, 2020 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Identity Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants