Hello,
I try to add a support to Lingua Libre (https://lingualibre.org) in Pywikibot but I cannot figure out how to connect to the website to be able to edit (the current support of Lingua Libre in PWB allows to "read" Lingua Libre, not to "edit").
The problem is the way to log in is quit unusual. Normal user who wants to log in on Lingua Libre, has to log in on Wikimedia Commons via OAuth (you can see cliking onĀ https://lingualibre.org/index.php?title=Special:UserLogin&returnto=LinguaLibre%3AMain+Page&returntoquery= )

And it makes me completely lost about the way to log in a bot with such system.

Here is the ouput of python pwb.py login -v (I try to log in with my user account to check)
with this content in user-config.py

family = 'lingualibre'
mylang = 'lingualibre'
usernames['lingualibre']['lingualibre'] = 'Pamputt'


Python 3.8.9 (default, Apr  5 2021, 18:09:13) 
[GCC 10.2.1 20210130]
Found 1 lingualibre:lingualibre processes running, including this one.
WARNING: No user is logged in on site lingualibre:lingualibre
Password for user Pamputt on lingualibre:lingualibre (no characters will be shown): 
Logging in to lingualibre:lingualibre as Pamputt
WARNING: API warning (main): Unrecognized parameters: username, password.
ERROR: Login failed (FAIL).
Traceback (most recent call last):
  File "/home/pamputt/bot/core/pywikibot/login.py", line 307, in login
    self.login_to_site()
  File "/home/pamputt/bot/core/pywikibot/data/api.py", line 2968, in login_to_site
    raise pywikibot.exceptions.APIError(code=status, info=fail_reason)
pywikibot.exceptions.APIError: FAIL: The supplied credentials could not be authenticated.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pwb.py", line 399, in <module>
    if not main():
  File "pwb.py", line 391, in main
    run_python_file(filename,
  File "pwb.py", line 106, in run_python_file
    exec(compile(source, filename, 'exec', dont_inherit=True),
  File "./scripts/login.py", line 151, in <module>
    main()
  File "./scripts/login.py", line 139, in main
    site.login(autocreate=autocreate)
  File "/home/pamputt/bot/core/pywikibot/site/_apisite.py", line 390, in login
    if login_manager.login(retry=True, autocreate=autocreate):
  File "/home/pamputt/bot/core/pywikibot/login.py", line 316, in login
    raise NoUsernameError(error_msg)
pywikibot.exceptions.NoUsernameError: Username "Pamputt" does not have read permissions on lingualibre:lingualibre
.The supplied credentials could not be authenticated.

You can also have a look at https://lingualibre.org/api.php?action=query&meta=authmanagerinfo&amirequestsfor=login to see that direct authentication are forbidden ("canauthenticatenow": "")

So, is anyone know how to log in with such authentication system (I am completely lost with OAuth).
Thanks in advance
Pamputt