REST API for creating a personal access token #24732
Answered
by
airtower-luna
ecurtiss
asked this question in
API and Webhooks
-
Is it possible to create a personal access token via the REST API? I have not been able to find an endpoint for it in the docs despite the octokit.rb docs suggesting that this is possible with Octokit::Client::Authorizations. Indeed I get a 404 when I try to use it, so maybe this endpoint was removed? There is also a post here on the forum that uses it. |
Beta Was this translation helpful? Give feedback.
Answered by
airtower-luna
Jul 2, 2021
Replies: 1 comment
-
It has been removed in line with disabling password authentication for the API, see here: Deprecating OAuth Authorization API | GitHub Developer Guide |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It has been removed in line with disabling password authentication for the API, see here: Deprecating OAuth Authorization API | GitHub Developer Guide