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

when i am trying to click on Google login on route

I am redirected to below url


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.