I’ve created multiple projects with V0, which is fantastic, but when I need to implement login via Google/Microsoft I simply cannot get it to work on either of my projects. No matter what I try to do, I get a [next-auth][error][CLIENT_FETCH_ERROR].
Does there exist a template for a simple google login I can use - or a tutorial - or where do I go from here?
Here’s a dump from my console
11:09:57.894Z [SERVER] Middleware executing for path: /
11:09:57.894Z [SERVER] Using NEXTAUTH_URL: http://localhost:3000
11:09:57.894Z [SERVER] Using NEXT_PUBLIC_NEXTAUTH_URL: http://localhost:3000
11:09:57.894Z [SERVER] Skipping auth check for public path
11:09:58.199Z AuthProvider mounted
11:09:58.199Z Using NEXT_PUBLIC_NEXTAUTH_URL: http://localhost:3000
11:09:58.204Z [next-auth][error][CLIENT_FETCH_ERROR] https://next-auth.js.org/errors#client_fetch_error Failed to fetch Failed to fetch
11:09:58.223Z [SERVER] Middleware executing for path: /login
11:09:58.223Z [SERVER] Using NEXTAUTH_URL: http://localhost:3000
11:09:58.223Z [SERVER] Using NEXT_PUBLIC_NEXTAUTH_URL: http://localhost:3000
11:09:58.223Z [SERVER] Skipping auth check for public path
11:09:58.230Z AuthProvider unmounted
11:09:58.230Z AuthProvider mounted
11:09:58.230Z Using NEXT_PUBLIC_NEXTAUTH_URL: http://localhost:3000