microsoft / microsoft/azure-devops-auth-samples

OAuthWebSample now requires TLS1.2

Open
#97 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

Please add the following before using HttpClient to request from https://app.vssps.visualstudio.com/oauth2/*

System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

I've placed in Global.asax.cs which worked for me.

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

Start in the OAuth web sample's Global.asax.cs and inspect where HttpClient requests are made for the Azure DevOps OAuth endpoint. Add the TLS 1.2 configuration before those requests, then verify that the sample can request https://app.vssps.visualstudio.com/oauth2/* successfully.

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
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.