shadcn-ui / taxonomy

An open source application built using the new router, server components and everything new in Next.js 13.
https://tx.shadcn.com
MIT License
18.64k stars 2.58k forks source link

Login page Server error #231

Closed pwnllc closed 1 year ago

pwnllc commented 1 year ago

Hello, When I click on the Login button, I get the following error: Server error There is a problem with the server configuration.

Check the server logs for more information.

In my logs, there's the following error: [next-auth][error][NO_SECRET] https://next-auth.js.org/errors#no_secret,

Even through I specified it in the .env file: NEXTAUTH_SECRET=a299eaexxxxxxxxxxxxxxxxxx88f7783

Lunatic83 commented 1 year ago

If you are experiencing it on vercel you have to setup the environment variable and redeploy it. If you are experiencing it on your local environment you have to restart the server.

pwnllc commented 1 year ago

Worked, thanks, have a nice day/evening!