Next.js Discord

Discord Forum

Implement Oauth with nextjs

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I have to integrate next 14 with an Oauth open id connect service that is made in spring auth server. Is it a good idea to use next-auth with a custom provider? Or what other options do I have? If someone gives me a hand I would appreciate it

1 Reply

Tonkinese
I would definitely use next-auth. They handle so much of the sort of boilerplate stuff that you need to be able to access the auth state just about anywhere, on the server or the client, and all the awesome hooks that make it super easy to work with. If you need help, I just deployed an app with next-auth literally yesterday... just send me a message and a lik to the repo.