Adding API Keys
This is only relevant if you are running SuperTokens on your own.
Adding API keys to the core is as simple as setting an extra param.
docker run \
-p 3567:3567 \
-e API_KEYS=<TO DO> \
-d supertokens/supertokens-<db name>
# You need to add the following to the config.yaml file.
# The file path can be found by running the "supertokens --help" command
- These are comma separated
- The format is
- Keys can only contain '=', '-' and alpha-numeric (including capital) chars.
- Each key must have a minimum length of 20 chars