envs

Auth.js — session secret

authjs/session · version 1

envs add authjs/session

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
AUTH_SECRET required secret Signs and encrypts session tokens. Anyone holding it can mint a session.. where to get it
AUTH_URL optional config Canonical app address used to build callback URLs.. Shape ^https://\S+$. where to get it

The JSON the CLI reads