This is python library for interacting with the Firefox Accounts ecosystem.
Provides
Requires
License
MPL-2.0
Changelog
* Sun Nov 22 2026 Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* Move TOTP management to the /mfa/totp/* routes. /totp/destroy
was removed and /totp/create is being retired.
* Session.totp_create and totp_delete now take an MFA token from
the mfa_request_otp and mfa_verify_otp helpers; setup ends
with totp_setup_verify and totp_setup_complete.
* BearerTokenAuth now raises TrustError for non-loopback
http:// URLs, as FxA token auth does. This also affects
fxa.profile calls.
* Move password reset to /password/forgot/send_otp and
/password/forgot/verify_otp. The old send_code, resend_code
and status routes are gone.
* Client.send_reset_code now takes only service and returns a
PasswordForgotToken, with token and uid set by verify_code.
* Remove PasswordForgotToken.get_status,
Client.resend_reset_code and Client.get_reset_code_status; add
Client.verify_reset_otp.
* /password/change/start now requires a verified session token.
* Client.change_password now requires session_token and returns
the server response. start_password_change,
finish_password_change and finish_password_change_v2 also
require a session token.
* Session.change_password and Session.finish_password_change
switch to the server-issued session.
* A v2 login of a v1 account now signs in with v1 credentials
and upgrades via password change.
* Client.create_account no longer accepts preVerified or
preVerifyToken. The auth server no longer supports
preVerifyToken and ignores preVerified.
* fxa --create-user now verifies the new account with the
emailed code.
* Mon May 25 2026 Dirk Müller <dmueller@suse.com>
- update to 0.8.2:
* Add CI WAF bypass header injection via ``CI_WAF_TOKEN`` env
var
* Skip live integration tests by default (opt-in via
``FXA_RUN_LIVE_TESTS=1``)
* Mon Nov 17 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.8.1
* Fixes issue with BrowserID removal
- from version 0.8.0
* Remove BrowserID Support
- Add support for libalternatives
- Use Python 3.11 on SLE-15 by default
- Update BuildRequires and Requires from pyproject.toml
* Tue Nov 05 2024 pgajdos@suse.com
- version update to 0.7.9
* Python3 support
* Add support for v2 password hashes
* Updated to pyproject.toml
* Updated libraries
* Thu Mar 21 2024 Dirk Müller <dmueller@suse.com>
- update to 0.7.8:
* Add retries to the APIClient session
* Wed Apr 06 2022 pgajdos@suse.com
- python-mock is not required for build
* Mon Feb 22 2021 Markéta Machová <mmachova@suse.com>
- Drop broken %ifpython3 macro, we don't need setuptools during runtime
* Tue Sep 22 2020 Antoine Belvire <antoine.belvire@opensuse.org>
- Update to version 0.7.7:
* Fix incorrect validation of JWKs passed to oauth.Client
constructor, which was actually *preventing* the caller from
setting a correct value rather than checking that they did so.
- Fix check section: Use double quotes when defining the list of
tests since single quotes mess with the pytest macro.
* Sat Jul 11 2020 Antoine Belvire <antoine.belvire@opensuse.org>
- Update to version 0.7.6:
* Add ability to configure a fixed list of JWT access token keys,
by passing them as an argument to `oauth.Client()` rather than
fetching them at runtime from the server.
* Fix verification of JWT access token `typ` header.
* Fix verification of `scope` list obtained from a JWT access
token.
- Changes from version 0.7.5:
* Add support for `reason` and `verification_method` keyword
arguments to the `login` method.
- Changes from version 0.7.4:
* Perform more complete checking of the `state` parameter when
authorizing an OAuth code.
* When verifying OAuth access tokens, try to verify them locally
as a JWT rather than passing them to the remote verification
endpoint.
- Add new dependency: PyJWT.
- Update existing dependency: six >= 1.14.
- Update list of excluded tests.
* Wed May 20 2020 Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
Files
/usr/bin/fxa-client
/usr/bin/fxa-client-3.14
/usr/lib/python3.14/site-packages/fxa
/usr/lib/python3.14/site-packages/fxa/__init__.py
/usr/lib/python3.14/site-packages/fxa/__main__.py
/usr/lib/python3.14/site-packages/fxa/__pycache__
/usr/lib/python3.14/site-packages/fxa/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/__main__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/__main__.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/_utils.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/_utils.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/cache.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/cache.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/constants.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/constants.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/core.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/core.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/crypto.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/crypto.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/errors.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/errors.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/oauth.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/oauth.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/profile.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/__pycache__/profile.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/_utils.py
/usr/lib/python3.14/site-packages/fxa/cache.py
/usr/lib/python3.14/site-packages/fxa/constants.py
/usr/lib/python3.14/site-packages/fxa/core.py
/usr/lib/python3.14/site-packages/fxa/crypto.py
/usr/lib/python3.14/site-packages/fxa/errors.py
/usr/lib/python3.14/site-packages/fxa/oauth.py
/usr/lib/python3.14/site-packages/fxa/plugins
/usr/lib/python3.14/site-packages/fxa/plugins/__init__.py
/usr/lib/python3.14/site-packages/fxa/plugins/__pycache__
/usr/lib/python3.14/site-packages/fxa/plugins/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/plugins/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/plugins/__pycache__/requests.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/plugins/__pycache__/requests.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/plugins/requests.py
/usr/lib/python3.14/site-packages/fxa/profile.py
/usr/lib/python3.14/site-packages/fxa/tests
/usr/lib/python3.14/site-packages/fxa/tests/__init__.py
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/mock_utilities.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/mock_utilities.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_cache.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_cache.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_core.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_core.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_crypto.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_crypto.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_oauth.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_oauth.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_profile.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_profile.cpython-314.pyc
/usr/lib/python3.14/site-packages/fxa/tests/__pycache__/test_requests_auth_pl