InteractiveBrowserCredentialOptions.RedirectURL doesn't work #15632
Labels
Azure.Identity
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Milestone
InteractiveBrowserCredential.GetToken()
starts a redirect server only whenInteractiveBrowserCredentialOptions.RedirectURL
has no value:azure-sdk-for-go/sdk/azidentity/interactive_browser_credential.go
Lines 128 to 132 in 6ff9912
Acquiring a token is therefore impossible when the option has a value. Fixing this is more complex than simply ensuring the redirect server starts, because the server doesn't work for all valid values of
RedirectURL
, e.g.https://127.0.0.1
. However, MSAL for Go supportsRedirectURL
, so this should be easy to fix as part of #14920.The text was updated successfully, but these errors were encountered: