Automated tests for auth0 login in https://testrp.security.allizom.org/
These tests are run in the mozilla-iam
(320464205386) AWS account in the
us-west-2
region via the auth0-tests-staging
AWS CodeBuild project.
If you'd like to run these tests locally (not in CodeBuild)
you can either create a variables.json
file based on variables.example.json
or run params2json.py
to fetch the variables from AWS SSM
Parameter store and store them in a variables.json
file locally
tox -e py36 tests/test_account.py::TestAccount::test_login_passwordless
PYTEST_BASE_URL=https://prod.testrp.security.allizom.org tox -e py36 tests/test_account.py::TestAccount::test_login_passwordless
Assuming you have the MFA secret in variables.json
if you'd like to manually
generate a TOTP code from the secret you can run
oathtool -b --totp "the_secret_goes_here"
Make sure that the command doesn't end up in your bash history, leaking the secret