bd808 added a comment.

    [15:46]  <    bd808> I think the general problem is that 
oauthenticator.mediawiki uses 
https://github.com/mediawiki-utilities/python-mwoauth to actually handle the 
handshake. mwoauth is an OAuth 1.0a client, not an OAuth 2.0 client.
    [15:47]  <    bd808> We can try to use 
https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/oauth2.py 
to make a custom client. That would be roughly what we did for superset.
  
  - 
https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/mediawiki.py
  - https://github.com/mediawiki-utilities/python-mwoauth
  - 
https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/oauth2.py

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]

Reply via email to