/vike-authjs

Primary LanguageTypeScriptMIT LicenseMIT

Getting started

Recommended to use bati

pnpm install @auth/core vike-authjs

Setting It Up

Generate auth secret, then set it as an environment variable:

AUTH_SECRET=your_auth_secret

On Production

Don't forget to trust the host.

AUTH_TRUST_HOST=true