Next.js Discord

Discord Forum

Auth.js and Next-Intl

Unanswered
Satin Angora posted this in #help-forum
Open in Discord
Satin AngoraOP
I am about to complete my website. Everything is already up and running. However, I am now facing a problem: I want to add a login and registration function via Auth.js. However, I use next-auth on my website - and also its routing. How do I do this with the API folder and what else do I need to configure? Since my URLS always look like this my-test-nudel.com/en or /en

Unfortunately I can't find anything on the official site :/

8 Replies

Satin AngoraOP
Already done, sorry - that was not intentional 🙈
American Crow
Satin AngoraOP
When I read that ... I switch back to auth
I was specifically looking for a solution for auth.js 5 🙈 but then I'll wait and do it with that 🙈
American Crow
Don't understand what you are using / asking? Authjs is NextAuth version 5. They formerly up to version 4 were named next-auth and rebranded to auth.jswith version 5
Satin AngoraOP
I'm getting totally confused with the names ... because in the .ts file it says Next-auth again 😂
Satin AngoraOP
So for my needs I will realise it via clerk for now