dcaro added a comment.

  Hmm, it hints to a `grant_type` parameter that you don't seem to be sending.
  
  From an app I have that does it "bare" (no libraries), I'm sending that 
parameter after the first callback, when trying to get the access_token for 
future requests:
  https://github.com/david-caro/wm-what/blob/main/wm_what/app.py#LL182C1-L192C57
  
  That makes sense, the step it's failing on is 
https://jupyterhub.readthedocs.io/en/stable/explanation/oauth.html#oauth-client-handles-callback-request
  
  Not sure what code are you using, but it might be adding those params to 
https://github.com/jupyterhub/oauthenticator/blob/main/oauthenticator/generic.py#LL18C1-L18C52
  
  Oh, there's a mediawiki specific one :) 
https://oauthenticator.readthedocs.io/en/latest/reference/api/gen/oauthenticator.mediawiki.html

TASK DETAIL
  https://phabricator.wikimedia.org/T243200

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dcaro
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