Recommended to use bati
pnpm install @auth/core vike-authjs
Generate auth secret, then set it as an environment variable:
AUTH_SECRET=your_auth_secret
Don't forget to trust the host.
AUTH_TRUST_HOST=true
Recommended to use bati
pnpm install @auth/core vike-authjs
Generate auth secret, then set it as an environment variable:
AUTH_SECRET=your_auth_secret
Don't forget to trust the host.
AUTH_TRUST_HOST=true