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

Password access to the Github API deprecated #363

Open
moorepants opened this issue Dec 31, 2019 · 3 comments
Open

Password access to the Github API deprecated #363

moorepants opened this issue Dec 31, 2019 · 3 comments

Comments

@moorepants
Copy link
Contributor

I got this email that I think was related to a doctr configure call:

Hi @moorepants,

You recently used a password to access an endpoint through the GitHub API using python-requests/2.22.0. We will deprecate basic authentication using password to this endpoint soon:

https://api.github.com/

We recommend using a personal access token (PAT) with the appropriate scope to access this endpoint instead. Visit https://github.com/settings/tokens for more information.

Thanks,
The GitHub Team

@asmeurer
Copy link
Member

We already do this for private repos so I guess we can migrate it. When will it be deprecated.

Personal access tokens are annoying because you have to create them and then delete them, unless there's a better way to do them now?

@moorepants
Copy link
Contributor Author

I use the tokens for other services and it seems you just need to keep one around for the api, I think.

@asmeurer
Copy link
Member

I mean doctr creates and deletes them with the API (which uses the password API to do, so hopefully doing that will stay supported). It's just annoying because if it gets interrupted before the delete the token will still be there. And GitHub also sends you an email about it every time a token gets created, which is confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants