bd808 added a comment.
Yuvi introduced https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/mediawiki.py upstream to support MediaWiki's OAuth 1.0a service. I think the broadly correct thing to do to implement support for MediaWiki's OAuth 2.0 service would be to upstream another MediaWiki specific OAuthenticator class. The new one should extend the classes from https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/oauth2.py and would likely be very similar to the existing upstream authenticators for other OAuth 2.0 services such as their GitHub and GitLab classes. TASK DETAIL https://phabricator.wikimedia.org/T243200 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: bd808 Cc: dcaro, bd808, rook, Aklapper, Stang, Daniel_Mietchen, Bstorm, Dvorapa, MarcoAurelio, pywikibot-bugs-list, Mpaa, Chicocvenancio, PotsdamLamb, Devnull, Slst2020, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Raymond_Ndibe, Khutuck, Zkhalido, AshokChakra, Viztor, 94rain, Wenyi, sietec, R96340, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, Susannaanas, Fuzheado, mys_721tx, Jane023, Xqt, yuvipanda, jayvdb, zhuyifei1999, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
