@ezio-melotti Antoine said you'd be the right person to talk to about getting this merged. Lemme know if you want the patch in some specific way or another.
It wasn't fully deployed for end users. By default, GitHub API doesn't include email addresses of users even if we set the OAuth scope correctly (users need to make their email address public on GitHub or we need to make a request to another endpoint in order to get their email address)
I'm not going to work on it until I get a response from Barry regarding PEP 595.
I've just re-pushed the patch with some modifications. I've already tested both Google and GitHub login supports locally. It should detect and associate existing bugs.python.org accounts with the same email address.
The only limitation is that the email address must be set to public in user's email settings at GitHub.
Activity
ammaraskar commented on Jun 20, 2018
Setup Instructions
Generate a set of github oauth credentials here:
https://github.com/settings/applications/new
Set the authorization callback url to be:
https://bugs.python.org/index?@action=oic_authresp&provider=Github
Insert the client_id and client_secret into the database:
Patch
Applies to tracker/python-dev
https://gist.github.com/ammaraskar/e259bc7d50df354e796e3c0d61137b10
ammaraskar commented on Jun 20, 2018
@ezio-melotti Antoine said you'd be the right person to talk to about getting this merged. Lemme know if you want the patch in some specific way or another.
ewdurbin commented on May 21, 2019
A GitHub application managed by the python organization has been created with the name bugs.python.org and configured as directed above.
Mariatta commented on Aug 8, 2019
I still have not figured out how to register/login to bpo using GitHub account 😟
Has the patch been merged? @ammaraskar @ezio-melotti?
ammaraskar commented on Aug 8, 2019
@berkerpeksag might also be able to answer, I think they mentioned this was disabled for some reason.
berkerpeksag commented on Aug 8, 2019
It wasn't fully deployed for end users. By default, GitHub API doesn't include email addresses of users even if we set the OAuth scope correctly (users need to make their email address public on GitHub or we need to make a request to another endpoint in order to get their email address)
I'm not going to work on it until I get a response from Barry regarding PEP 595.
berkerpeksag commented on Aug 10, 2020
I've just re-pushed the patch with some modifications. I've already tested both Google and GitHub login supports locally. It should detect and associate existing bugs.python.org accounts with the same email address.
The only limitation is that the email address must be set to public in user's email settings at GitHub.