titarenko / OAuth2

OAuth2 client implementation for .NET
412 stars 154 forks source link

Update GitHub OAuth Client #135

Open niemyjski opened 4 years ago

niemyjski commented 4 years ago

https://medium.com/swlh/github-api-oauth-in-2020-43944bdc8ab6

plixxer commented 4 years ago

Can you add a brief summary on the issue you are facing? you have only added a link to a tutorial

aybulatb commented 4 years ago

Hi, need to update github client to the way it is described in the article, am I right?

niemyjski commented 4 years ago

I believe so, the GitHub docs has more information. Thank you!

niemyjski commented 4 years ago

Looks like there could still be an issue here.

On November 8th, 2020 at 08:32 (UTC) your application (abc) used an access token (with the User-Agent RestSharp/106.11.7.0) as part of a query parameter to access an endpoint through the GitHub API.

https://api.github.com/user

Please use the Authorization HTTP header instead as using the `access_token` query parameter is deprecated.

Depending on your API usage, we'll be sending you this email reminder on a monthly basis.

Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.