Zache added a comment.

  Not sure if this same, but I noticed yesterday that I could not login to 
"meta" using pywikibot. When I try to login, it will ask verification code sent 
to email. I will get that, but when I submit it then login fails with "Invalid 
verification code!". This same causes also superset code fail as it uses 
meta.wikimedia.org for authentication.
  
  Code:
  
  > import pywikibot
  > loginsite = pywikibot.Site('meta')
  > loginsite.login()
  
  Output.
  
    (venv) wiki@Wikis-MacBook-Air publicart % python test1.py        
    
/Users/wiki/publicart/venv/lib/python3.9/site-packages/urllib3/__init__.py:35: 
NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' 
module is compiled with 'LibreSSL 2.8.3'. See: 
https://github.com/urllib3/urllib3/issues/3020
      warnings.warn(
    Password for user Zache-test on meta:meta (no characters will be shown): 
    You need to verify your login. A verification code has been sent to your 
email address, please enter that code here.: 
    WARNING: API warning (main): Unrecognized parameter: OATHToken.

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

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

To: Zache
Cc: Aklapper, pywikibot-bugs-list, Zache, Xqt, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Hannolans, 
mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to