microsoft / azure-devops-auth-samples

Samples showing how to auth with Azure DevOps
https://docs.microsoft.com/azure/devops/integrate/get-started/authentication/authentication-guidance
MIT License
260 stars 306 forks source link

Use `https` in `ado:OrganizationUrl` #79

Open jiasli opened 3 years ago

jiasli commented 3 years ago

The instruction clearly says ado:OrganizationUrl should use HTTPS.

https://github.com/microsoft/azure-devops-auth-samples/blob/49f055dfb806473f035f16f7780d1fe319e63b81/ManagedClientConsoleAppSample/README.md#L59

Using http://dev.azure.com/organization causes confusion and leads to failure:

# PowerShell
> az rest --url '"http://dev.azure.com/azure-sdk/_apis/projects?stateFilter=All&api-version=2.2"' --resource 499b84ac-1321-427f-aa17-267ca6975798

... Microsoft Internet Explorer's Enhanced Security Configuration is currently enabled on your environment. This enhanced level of security prevents our web integration experiences from displaying or performing correctly. To continue with your operation please disable this configuration or contact your administrator. ...