Skip to content

How to setup authentication locally

We use a dev account of Authress for our local workflows.

Setup environment variables

export AUTHRESS_DEFAULT_CONNECTION_ID=con_sc_bd8NGfNnpjmiMt7Th6VrwVb
export AUTHRESS_SERVICE_CLIENT_ACCESS_KEY=sc_aKjc8ibLsFJtGxq6ckhLwZs.HrEV.acc-0kl443v3w9f0w.MC4CAQAwBQYDK2VwBCIEIPUjJv7vL8UwpcTleNjfu4eWl0+QwYKsDxpatKP6v9E7
export AUTHRESS_SERVICE_CLIENT_ID=sc_bd8NGfNnpjmiMt7Th6VrwVb

To tell authress that your email is linked to the dev account you should setup the following environment variables:

export DEV_ADMIN_EMAIL="your-email@example.com"