[BUG] port 0 is default value in InteractiveBrowserCredentialBuilder #12275
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.
help wanted
This issue is tracking work for which community contributions would be welcomed and appreciated
Milestone
Describe the bug
The detailed info can be found here
Exception or Stack Trace
This site can’t be reachedThe webpage at http://localhost:0/?code=CODE&session_state=SESSION might be temporarily down or it may have moved permanently to a new web address.
To Reproduce
Authenticate without setting port value or setting 0 there.
Code Snippet
withPort(0)
Expected behavior
If the value of port is
0
, the system will pick next available port. The expected might be to add validation part for value check.Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: