#15 Unable to login when 2FA enabled
Opened a year ago by fuller. Modified a month ago

Login fails when 2FA is enabled as both plain password and password with 2FA code appended are rejected

Yes, I have tried multiple times and checked my password

Terminal output:

❯ fedora-business-cards fedora
Login to FAS:
Username: fuller
Traceback (most recent call last):
  File "/usr/bin/fedora-business-cards", line 33, in <module>
    sys.exit(load_entry_point('fedora-business-cards==2.3', 'console_scripts', 'fedora-business-cards')())
  File "/usr/lib/python3.10/site-packages/fedora_business_cards/frontend/cmdline.py", line 106, in main
  File "/usr/lib/python3.10/site-packages/fedora_business_cards/generators/fedora.py", line 51, in collect_information
    userinfo = self.collect_fas_information()
  File "/usr/lib/python3.10/site-packages/fedora_business_cards/generators/__init__.py", line 86, in collect_fas_information
    return fas.person_by_username(username)
  File "/usr/lib/python3.10/site-packages/fedora/client/fas2.py", line 442, in person_by_username
    request = self.send_request(
  File "/usr/lib/python3.10/site-packages/fedora/client/baseclient.py", line 365, in send_request
    session_id, data = super(BaseClient, self).send_request(
  File "/usr/lib/python3.10/site-packages/fedora/client/proxyclient.py", line 462, in send_request
    raise AuthError(
fedora.client.AuthError: Unable to log into server.  Invalid authentication tokens.  Send new username and password

Login to comment on this ticket.