Hello everyone,
In next auth section, where Mosh explains required configuration to implement a google provider, I followed those settings step by step, but the problem is that when I click Login button, while I can see consent screen and select my google account, I redirect to a page with this error:
Try signing in with a different account.
One more thing, I am from Iran, and I visited google console via a VPN to get google client id, so is that possible I cannot use these services due to my country.
Thank you very much, @parkerrex. I simply switched to another VPN, and the problem was resolved. My IP address was being blocked by Google Cloud, which was the problem.