--- sidebar_label: "Module Options" --- import { Table } from "docs-ui" export const metadata = { title: `User Module Options`, } # {metadata.title} In this document, you'll learn about the options of the User Module. ## Module Options ```ts title="medusa-config.ts" import { Modules } from "@medusajs/framework/utils" // ... module.exports = defineConfig({ // ... modules: [ { resolve: "@medusajs/user", options: { jwt_secret: process.env.JWT_SECRET, }, }, ], }) ``` Option Description Required `jwt_secret` A string indicating the secret used to sign the invite tokens. Yes
### Environment Variables Make sure to add the necessary environment variables for the above options in `.env`: ```bash JWT_SECRET=supersecret ```