Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feedback for “Installation” #13433

@weiyanhein

Description

@weiyanhein

I trouble the following step .Setup Environment
The only environment variable that is mandatory is the AUTH_SECRET. This is a random value used by the library to encrypt tokens and email verification hashes. (See Deployment to learn more). You can generate one via the official Auth.js CLI running:

npx auth secret

This will also add it to your .env file, respecting the framework conventions (eg.: Next.js’ .env.local).

When i try that command in cmd of my nextjs folder ,env file is not get . But i get secret key in my terminal. Why should i create manually .Please give me some instruction .

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalid reproductionThe issue did not have a detectable valid reproduction URL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions