harvard-lil / lil-blog-uploader

A protected form for uploading media for LIL blog posts
1 stars 5 forks source link

Update deprecated API call #7

Closed bensteinberg closed 4 years ago

bensteinberg commented 4 years ago

This is in response to the following email from GitHub:

Hello there!

On March 17th, 2020 at 08:23 (PDT), your application (lil-blog-generator) issued a request using the deprecated form of OAuth Application API that includes access tokens in the URL path. GitHub has deprecated these endpoints and replaced them with a version that accepts access tokens in the request body.

The deprecated endpoints will be removed on May 5th, 2021 at 4:00 PM UTC.

Please visit https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint for more information about suggested changes, brownouts, and removal dates.

Thanks, The GitHub Team

I believe the change here is the only such API call in the application; the docs for the new endpoint are at https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token

bensteinberg commented 4 years ago

(Note that a PR for another repo will follow shortly.)

bensteinberg commented 4 years ago

I believe that this and https://github.com/harvard-lil/lil-blog-generator/pull/9 take care of all instances of this deprecated call in our code.