We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Github is emailing me about the deprecation of using access_token in the URL query parameters. https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/
I am using this codes to connect to GitHub: github = Github.new oauth_token: my_access_token, org: 'myOrg'
github = Github.new oauth_token: my_access_token, org: 'myOrg'
Now how can I add the with the GitHub changes where access token should be in the request header as Authorization: token my_access_token?
Authorization: token my_access_token
The text was updated successfully, but these errors were encountered:
Using oauth_token is now no longer permitted on GitHub.com. Is there a workaround for the existing gem?
Sorry, something went wrong.
This format worked for my project: github = Github.new org: 'MyOrganization', headers: {"Authorization" => "token #{my_access_token}"}
github = Github.new org: 'MyOrganization', headers: {"Authorization" => "token #{my_access_token}"}
No branches or pull requests
Github is emailing me about the deprecation of using access_token in the URL query parameters.
https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/
I am using this codes to connect to GitHub:
github = Github.new oauth_token: my_access_token, org: 'myOrg'
Now how can I add the with the GitHub changes where access token should be in the request header as
Authorization: token my_access_token
?The text was updated successfully, but these errors were encountered: