Kiranism / next-shadcn-dashboard-starter

Admin Dashboard Starter with Nextjs14 and shadcn ui
https://next-shadcn-dashboard-starter.vercel.app
MIT License
2.26k stars 519 forks source link

How to configurate nextAuth to login into panel #1

Closed grzegorzCieslik95 closed 9 months ago

grzegorzCieslik95 commented 9 months ago

Hi, Many thanks for this code, it helps me to create my panel faster. I have problem with configuration of nextAuth. When i try use dumy email i have error like "There is a problem with the server configuration."

How can i fix this?

Kiranism commented 9 months ago

Glad that helped you! Try replacing env.text with env.local and double-check the NextAuth secret. Let me know if that helps!

grzegorzCieslik95 commented 9 months ago

I generated secret from this page https://generate-secret.vercel.app/32 and i changed file name from env.text to env.local but still have this error

JWEDecryptionFailed: decryption operation failed, 'decryption operation failed

EDIT: Sorry, my bad -> i forgot add dot on the start of the name! Now works perfect! Thanks one more time!

Kiranism commented 9 months ago

You're welcome!