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

using password to make API calls is deprecated #41

Closed
kzidane opened this issue Dec 31, 2019 · 2 comments
Closed

using password to make API calls is deprecated #41

kzidane opened this issue Dec 31, 2019 · 2 comments

Comments

@kzidane
Copy link
Member

kzidane commented Dec 31, 2019

https://github.com/cs50/lib50/blob/develop/lib50/_api.py#L956

@kzidane kzidane closed this as completed Jan 31, 2020
@pazz
Copy link

pazz commented Aug 20, 2020

Hey! I've recently received a deprecation info by email from github.
Could you elaborate why this issue is closed? Is this not a problem?
I'm wondering about calling check50 from within a lab environment, which is not cached afaik, so it would be tricky to ask students to use API tokens instead of user/passwd..

@pazz
Copy link

pazz commented Aug 26, 2020

Just FTR, this is the email I received.
The linked document says that user/passwd authentification will stop working on November 13, 2020
and I believe that this means check50 and submit50 will effectively stop working from the online labs/IDE environments.
If you are working on a work-around, but also otherwise and everything breaks soon, please let me know so that I (and many others) can plan ahead. Thanks!

Hi @pazz,

On August 3rd, 2020 at 15:54 (UTC) you used a password to access an endpoint through the GitHub API using
python-requests/2.22.0:

https://api.github.com/user

Basic authentication using a password to the API is deprecated and will soon no longer work. Visit
https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ for more information around suggested
workarounds and removal dates.

Thanks,
The GitHub Team

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