fxa-python-client

python sample code to access Firefox Account (FxA) APIs


License
Other
Install
pip install fxa-python-client==1.3.0

Documentation

fxa-python-client

Python sample code to access Firefox Account (FxA) APIs, run by the server in https://github.com/mozilla/fxa-auth-server . This is most useful for running automated tests, and as supplemental documentation of the protocol.

To install this package you need a couple of prerequisites, the cryptography module needs a C compiler and OpenSSL installed.

Windows

Linux (Ubuntu):

Open the terminal or any other package manager and install the following packages:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Mac

The source tree also contains a tool to create test vectors for the FxA auth protocol. For that you'll need an additional python package which needs to be installed manually:

pip install -r requirements.txt