Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghelyar opened this issue Jan 24, 2020 · 0 comments
Open

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

ghelyar opened this issue Jan 24, 2020 · 0 comments

Comments

@ghelyar
Copy link

ghelyar commented Jan 24, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant