Stytch — authentication
stytch/auth · version 1
envs add stytch/auth
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
STYTCH_PROJECT_ID |
required | secret | The basic auth username half. Stytch pairs it with the secret for every API call and never separates it, so it is not treated as public. Each environment has its own; test and live values are not interchangeable.. where to get it |
STYTCH_SECRET |
required | secret | The password half of that pair.. where to get it |
STYTCH_PUBLIC_TOKEN |
optional | config | Stytch says the frontend SDKs use the public token rather than the project id and secret, which is a direction to put this one in the browser and keep those out of it. The variable names are convention.. where to get it |