Next.js Discord

Discord Forum

Auth library

Answered
Zepeto posted this in #help-forum
Open in Discord
Hi, which library is best suited to managing the authentication of my nextjs application with a duend identity server?
Answered by B33fb0n3
I like to use next-auth
View full answer

13 Replies

Is using Clerk an option?
Answer
@B33fb0n3 I like to use next-auth
I've seen it supported but the next-auth doc isn't clear at all and there isn't much help
@Caspian Nightworth Is using Clerk an option?
Maybe, I haven't found any documentation for this 😕
@Zepeto I've seen it supported but the next-auth doc isn't clear at all and there isn't much help
have you also looked at example code of next-auth? Does that helped?
@B33fb0n3 have you also looked at example code of next-auth? Does that helped?
Yes, that's what I did, but in fact it's a very, very light example. I have an error, but the error isn't documented anywhere...
@B33fb0n3 you used the beta?
Yep
Will I have to downgrade to stable version 4 ?
@Zepeto Yep
ahh, don't use the beta. Use the latest stable release. You may also get errors, but they are resolveable
@Zepeto Ok, thanks I'll give this lib one last chance 🙂
do it. It's great. And if you don't know how to resolve a specific error, open a thread here 👍