Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 280 Bytes

AUTHENTICATION.md

File metadata and controls

16 lines (11 loc) · 280 Bytes

1. NEXTAUTH

NextAuth requires a environment key to be able to use JWT, so to generate the key, run:

$ openssl rand -base64 32

Then fill in the value into .env file;

# .env

NEXTAUTH_SECRET=yourKey
NEXTAUTH_URL=http://localhost:3000 or yourDomain.