Getting re-directed to some junk url on google auth sign in

when i am trying to click on Google login on route
http://localhost:3000/api/auth/signin

I am redirected to below url

https://%22http//localhost:3000%22,/signin/google

Let me know what I am doing wrong

I am facing a problem in
commit - Add the prisma adapter (next js issue tracker)

This looks like a typo inside the google console. When you register the auth token in google, you specify a callback url. It looks like you have an error there.

Also, on localhost, you don’t want https, you only want http. What you posted here actually had both, and that’s where i think the problem is.

Hi, I got it resolved. The issue was with the env file where I put commas after each line. Removing the comma fixed it.

1 Like

Thanks for the update! I was wondering how it was working out.

Jerry