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

Update applications API use to pass access token as body param instead of path param #1203

Merged
merged 3 commits into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions lib/octokit/client/authorizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,13 @@ def scopes(token = @access_token, options = {})
# client = Octokit::Client.new(:client_id => 'abcdefg12345', :client_secret => 'secret')
# client.check_application_authorization('deadbeef1234567890deadbeef987654321')
def check_application_authorization(token, options = {})
opts = options.dup
opts = ensure_api_media_type(:applications_api, options.dup)
opts[:access_token] = token
key = opts.delete(:client_id) || client_id
secret = opts.delete(:client_secret) || client_secret

as_app(key, secret) do |app_client|
app_client.get "applications/#{client_id}/tokens/#{token}", opts
app_client.post "applications/#{client_id}/tokens", opts
Copy link

@augustocravosilva augustocravosilva Mar 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @oreoshake, @tarebyte,
The paths you are using here and returing 404. According to https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/#endpoints-affected , it should be singular token, and not tokens

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, thanks for the heads up. I'm working on a PR to resolve this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got the tests passing but I've yet to actually try this against the live API 😄

🤦‍♂️

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix. Seems to be working correctly now :)

end
end

Expand All @@ -173,12 +174,13 @@ def check_application_authorization(token, options = {})
# client = Octokit::Client.new(:client_id => 'abcdefg12345', :client_secret => 'secret')
# client.reset_application_authorization('deadbeef1234567890deadbeef987654321')
def reset_application_authorization(token, options = {})
opts = options.dup
opts = ensure_api_media_type(:applications_api, options.dup)
opts[:access_token] = token
key = opts.delete(:client_id) || client_id
secret = opts.delete(:client_secret) || client_secret

as_app(key, secret) do |app_client|
app_client.post "applications/#{client_id}/tokens/#{token}", opts
app_client.patch "applications/#{client_id}/tokens", opts
end
end

Expand All @@ -194,12 +196,13 @@ def reset_application_authorization(token, options = {})
# client = Octokit::Client.new(:client_id => 'abcdefg12345', :client_secret => 'secret')
# client.revoke_application_authorization('deadbeef1234567890deadbeef987654321')
def revoke_application_authorization(token, options = {})
opts = options.dup
opts = ensure_api_media_type(:applications_api, options.dup)
opts[:access_token] = token
key = opts.delete(:client_id) || client_id
secret = opts.delete(:client_secret) || client_secret

as_app(key, secret) do |app_client|
app_client.delete "applications/#{client_id}/tokens/#{token}", opts
app_client.delete "applications/#{client_id}/tokens", opts

app_client.last_response.status == 204
end
Expand Down
1 change: 1 addition & 0 deletions lib/octokit/preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Octokit
module Preview

PREVIEW_TYPES = {
:applications_api => 'application/vnd.github.doctor-strange-preview+json'.freeze,
:branch_protection => 'application/vnd.github.luke-cage-preview+json'.freeze,
:checks => 'application/vnd.github.antiope-preview+json'.freeze,
:commit_search => 'application/vnd.github.cloak-preview+json'.freeze,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"http_interactions":[{"request":{"method":"put","uri":"https://api.github.com/authorizations/clients/<GITHUB_CLIENT_ID>/CHECK_APPLICATION_AUTHORIZATION_FINGERPRINT","body":{"encoding":"UTF-8","base64_string":"eyJjbGllbnRfc2VjcmV0IjoiPEdJVEhVQl9DTElFTlRfU0VDUkVUPiJ9\n"},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.12.0"],"Content-Type":["application/json"],"Authorization":["Basic bW9uYWxpc2FvY3RvY2F0OkpiZmp6VEVaaiNyeHRWc1toTEVBS0p1eFVzOQ=="],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":201,"message":"Created"},"headers":{"Server":["GitHub.com"],"Date":["Sun, 30 Sep 2018 19:47:19 GMT"],"Content-Type":["application/json; charset=utf-8"],"Content-Length":["464"],"Status":["201 Created"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4939"],"X-Ratelimit-Reset":["1538339546"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP"],"Etag":["\"afa831aed22d7d3b5c4a76d33993fb86\""],"Location":["https://api.github.com/authorizations/223759435"],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Runtime-Rack":["0.118312"],"X-Github-Request-Id":["FD95:235B:2341ADE:41EAE2C:5BB12847"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6MjIzNzU5NDM1LCJ1cmwiOiJodHRwczovL2FwaS5naXRodWIuY29t\nL2F1dGhvcml6YXRpb25zLzIyMzc1OTQzNSIsImFwcCI6eyJuYW1lIjoiT2N0\nb2tpdCIsInVybCI6Imh0dHBzOi8vZXhhbXBsZS5jb20iLCJjbGllbnRfaWQi\nOiI8R0lUSFVCX0NMSUVOVF9JRD4ifSwidG9rZW4iOiJDSEVDS19BUFBMSUNB\nVElPTl9BVVRIT1JJWkFUSU9OX1RPS0VOIiwiaGFzaGVkX3Rva2VuIjoiMzU1\nYjQ0ZDI5ZjYzY2ZjM2Y4MTljZDc0MDZjZjdiY2NhM2U5YjllMmE4YmI5ZDI2\nNGU3OWVhY2IxOGNjYjY3MiIsInRva2VuX2xhc3RfZWlnaHQiOiI3MmJhMzEw\nMiIsIm5vdGUiOm51bGwsIm5vdGVfdXJsIjpudWxsLCJjcmVhdGVkX2F0Ijoi\nMjAxOC0wOS0zMFQxOTo0NzoxOVoiLCJ1cGRhdGVkX2F0IjoiMjAxOC0wOS0z\nMFQxOTo0NzoxOVoiLCJzY29wZXMiOltdLCJmaW5nZXJwcmludCI6IkNIRUNL\nX0FQUExJQ0FUSU9OX0FVVEhPUklaQVRJT05fRklOR0VSUFJJTlQifQ==\n"},"http_version":null},"recorded_at":"Sun, 30 Sep 2018 19:47:19 GMT"},{"request":{"method":"get","uri":"https://api.github.com/applications/<GITHUB_CLIENT_ID>/tokens/CHECK_APPLICATION_AUTHORIZATION_TOKEN","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.12.0"],"Content-Type":["application/json"],"Authorization":["Basic NzQ0NjkwYmI4MDBkNTcxNWFkOTA6MjQyMzUyZDU0NDExZTkwYzM5NDExZTA0NzczMjMzMDMyZDAwN2U3MA=="],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["GitHub.com"],"Date":["Sun, 30 Sep 2018 19:47:19 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4991"],"X-Ratelimit-Reset":["1538339546"],"Cache-Control":["public, max-age=60, s-maxage=60"],"Vary":["Accept"],"Etag":["W/\"d8d05200fa945112128b3c0c93f47251\""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Runtime-Rack":["0.020729"],"X-Github-Request-Id":["FD96:2360:D4F0C7:1E86E2A:5BB12847"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJpZCI6MjIzNzU5NDM1LCJ1cmwiOiJodHRwczovL2FwaS5naXRodWIuY29t\nL2F1dGhvcml6YXRpb25zLzIyMzc1OTQzNSIsImFwcCI6eyJuYW1lIjoiT2N0\nb2tpdCIsInVybCI6Imh0dHBzOi8vZXhhbXBsZS5jb20iLCJjbGllbnRfaWQi\nOiI8R0lUSFVCX0NMSUVOVF9JRD4ifSwidG9rZW4iOiJDSEVDS19BUFBMSUNB\nVElPTl9BVVRIT1JJWkFUSU9OX1RPS0VOIiwiaGFzaGVkX3Rva2VuIjoiMzU1\nYjQ0ZDI5ZjYzY2ZjM2Y4MTljZDc0MDZjZjdiY2NhM2U5YjllMmE4YmI5ZDI2\nNGU3OWVhY2IxOGNjYjY3MiIsInRva2VuX2xhc3RfZWlnaHQiOiI3MmJhMzEw\nMiIsIm5vdGUiOm51bGwsIm5vdGVfdXJsIjpudWxsLCJjcmVhdGVkX2F0Ijoi\nMjAxOC0wOS0zMFQxOTo0NzoxOVoiLCJ1cGRhdGVkX2F0IjoiMjAxOC0wOS0z\nMFQxOTo0NzoxOVoiLCJzY29wZXMiOltdLCJmaW5nZXJwcmludCI6IkNIRUNL\nX0FQUExJQ0FUSU9OX0FVVEh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Ly9hcGkuZ2l0aHViLmNvbS91c2Vy\ncy88R0lUSFVCX0xPR0lOPi9yZXBvcyIsImV2ZW50c191cmwiOiJodHRwczov\nL2FwaS5naXRodWIuY29tL3VzZXJzLzxHSVRIVUJfTE9HSU4+L2V2ZW50c3sv\ncHJpdmFjeX0iLCJyZWNlaXZlZF9ldmVudHNfdXJsIjoiaHR0cHM6Ly9hcGku\nZ2l0aHViLmNvbS91c2Vycy88R0lUSFVCX0xPR0lOPi9yZWNlaXZlZF9ldmVu\ndHMiLCJ0eXBlIjoiVXNlciIsInNpdGVfYWRtaW4iOmZhbHNlfX0=\n"},"http_version":null},"recorded_at":"Sun, 30 Sep 2018 19:47:19 GMT"}],"recorded_with":"VCR 4.0.0"}
{"http_interactions":[{"request":{"method":"put","uri":"https://api.github.com/authorizations/clients/<GITHUB_CLIENT_ID>/CHECK_APPLICATION_AUTHORIZATION_FINGERPRINT","body":{"encoding":"UTF-8","base64_string":"eyJjbGllbnRfc2VjcmV0IjoiPEdJVEhVQl9DTElFTlRfU0VDUkVUPiJ9\n"},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.12.0"],"Content-Type":["application/json"],"Authorization":["Basic bW9uYWxpc2FvY3RvY2F0OkpiZmp6VEVaaiNyeHRWc1toTEVBS0p1eFVzOQ=="],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":201,"message":"Created"},"headers":{"Server":["GitHub.com"],"Date":["Sun, 30 Sep 2018 19:47:19 GMT"],"Content-Type":["application/json; charset=utf-8"],"Content-Length":["464"],"Status":["201 Created"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4939"],"X-Ratelimit-Reset":["1538339546"],"Cache-Control":["private, max-age=60, s-maxage=60"],"Vary":["Accept, Authorization, Cookie, X-GitHub-OTP"],"Etag":["\"afa831aed22d7d3b5c4a76d33993fb86\""],"Location":["https://api.github.com/authorizations/223759435"],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Runtime-Rack":["0.118312"],"X-Github-Request-Id":["FD95:235B:2341ADE:41EAE2C:5BB12847"]},"body":{"encoding":"UTF-8","base64_string":"eyJpZCI6MjIzNzU5NDM1LCJ1cmwiOiJodHRwczovL2FwaS5naXRodWIuY29t\nL2F1dGhvcml6YXRpb25zLzIyMzc1OTQzNSIsImFwcCI6eyJuYW1lIjoiT2N0\nb2tpdCIsInVybCI6Imh0dHBzOi8vZXhhbXBsZS5jb20iLCJjbGllbnRfaWQi\nOiI8R0lUSFVCX0NMSUVOVF9JRD4ifSwidG9rZW4iOiJDSEVDS19BUFBMSUNB\nVElPTl9BVVRIT1JJWkFUSU9OX1RPS0VOIiwiaGFzaGVkX3Rva2VuIjoiMzU1\nYjQ0ZDI5ZjYzY2ZjM2Y4MTljZDc0MDZjZjdiY2NhM2U5YjllMmE4YmI5ZDI2\nNGU3OWVhY2IxOGNjYjY3MiIsInRva2VuX2xhc3RfZWlnaHQiOiI3MmJhMzEw\nMiIsIm5vdGUiOm51bGwsIm5vdGVfdXJsIjpudWxsLCJjcmVhdGVkX2F0Ijoi\nMjAxOC0wOS0zMFQxOTo0NzoxOVoiLCJ1cGRhdGVkX2F0IjoiMjAxOC0wOS0z\nMFQxOTo0NzoxOVoiLCJzY29wZXMiOltdLCJmaW5nZXJwcmludCI6IkNIRUNL\nX0FQUExJQ0FUSU9OX0FVVEhPUklaQVRJT05fRklOR0VSUFJJTlQifQ==\n"},"http_version":null},"recorded_at":"Sun, 30 Sep 2018 19:47:19 GMT"},{"request":{"method":"post","uri":"https://api.github.com/applications/<GITHUB_CLIENT_ID>/tokens","body":{"access_token":"CHECK_APPLICATION_AUTHORIZATION_TOKEN", "encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json"],"User-Agent":["Octokit Ruby Gem 4.12.0"],"Content-Type":["application/json"],"Authorization":["Basic NzQ0NjkwYmI4MDBkNTcxNWFkOTA6MjQyMzUyZDU0NDExZTkwYzM5NDExZTA0NzczMjMzMDMyZDAwN2U3MA=="],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Server":["GitHub.com"],"Date":["Sun, 30 Sep 2018 19:47:19 GMT"],"Content-Type":["application/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Status":["200 OK"],"X-Ratelimit-Limit":["5000"],"X-Ratelimit-Remaining":["4991"],"X-Ratelimit-Reset":["1538339546"],"Cache-Control":["public, max-age=60, s-maxage=60"],"Vary":["Accept"],"Etag":["W/\"d8d05200fa945112128b3c0c93f47251\""],"X-Github-Media-Type":["github.v3; format=json"],"Access-Control-Expose-Headers":["ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"Access-Control-Allow-Origin":["*"],"Strict-Transport-Security":["max-age=31536000; includeSubdomains; preload"],"X-Frame-Options":["deny"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Referrer-Policy":["origin-when-cross-origin, strict-origin-when-cross-origin"],"Content-Security-Policy":["default-src 'none'"],"X-Runtime-Rack":["0.020729"],"X-Github-Request-Id":["FD96:2360:D4F0C7:1E86E2A:5BB12847"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJpZCI6MjIzNzU5NDM1LCJ1cmwi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