Continue Discussion 36 replies
July 2021

zalivadnyi

After clicking Sign In button:

Error: HTTP GET is not supported for /api/auth/error

August 2021

simmbiote

@Nirmalay Ghosh
Thanks for putting this together.

Is there a way to integrate NextAuth into NextJS without needing to supply the Database connection? Database is already interfaced with Strapi. Otherwise what is Strapi for?

database: process.env.NEXT_PUBLIC_DATABASE_URL,

Also, shouldn’t that be a private variable, not public?

August 2021

simmbiote

I just tested leaving out the database field completely, and it works. The newly created user profile is visible in Strapi.

September 2021

gorlaz

It would be great to extend this blog with adding Auth0 as well given the different use cases. The other Auth0/Strapi blog uses a different mechanism to connect which doesn’t seem to fit with NextJS/NextAuth

December 2021

bOnEv

FYI these are for NextAuth@3. Default next will use v4 now and a bit has changed.

1 reply