microsoft / microsoft/azure-devops-auth-samples

Sample should use https instead of just putting it in a comment.

Open
#51 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
277
Forks
307
Avg merge
3d 18h
Merged PRs (30d)
2

Description

https://github.com/microsoft/azure-devops-auth-samples/blob/master/ManagedClientConsoleAppSample/Program.cs#L14

internal const string azureDevOpsOrganizationUrl = "http://dev.azure.com/organization"; //change to the URL of your Azure DevOps account; NOTE: This must use HTTPS

The comment says that https must be used, but the value uses http.

If you get don't change the sample, you get a cryptic 203 response from the server.

Also, there should be a trailing slash, or you will get a 404 from the server when it tries to combine the URIs, as described in #41

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open ManagedClientConsoleAppSample/Program.cs at line 14 and inspect how the organization URL is used when requests are built. Correct the sample URL format, including the HTTPS scheme and trailing slash, then run the sample or its available checks to confirm it no longer produces the documented 203 or 404 responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.