There's two places to configure nuxt-auth:

For development, using the Quick Start configuration will already bring you quite far. For a production deployment, you will have to:

  • set the origin by:
    1. exporting the AUTH_ORIGIN-environment variable at runtime (higher precedence)
    2. setting the origin-key inside the nuxt.config.ts config at build-time (lower precendence)
  • set a secret inside the NuxtAuthHandler config

See the detailed possible configuration options on the next pages.