Hi AntiCompositeNumber,
that did the job. I was not aware about https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords and following instructions given over there helped me log in.
Thank you
Pamputt


---------- Forwarded message ----------
From: AntiCompositeNumber <anticompositenumber@gmail.com>
To: Pywikibot discussion list <pywikibot@lists.wikimedia.org>
Cc: 
Bcc: 
Date: Wed, 14 Jul 2021 13:09:47 -0400
Subject: [pywikibot] Re: Log in to Lingua LIbre through Wikimedia Commons via OAuth
pywikibot supports authentication using Extension:OAuth
(authenticating directly to the wiki), but I don't think it supports
Extesnion:OAuthAuthentication (authenticating to another wiki). It
does appear that BotPasswords are enabled on Lingua Libre
(https://lingualibre.org/wiki/Special:BotPasswords), so I'd suggest
trying that. For more information see
<https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords>.