mosh-hamedani/issue-tracker

Error Encountered During Google Account Sign-In

Opened this issue · 7 comments

I encountered an issue while attempting to sign in using my Google account via the login popup. The problem occurred after selecting one of my Google accounts, and I received the following error message: "Try signing in with a different account."

First go api and services credential in google developer console and then check Authorised redirect URIs. And put that feild like this https://localhost:3000/auth/callback/google
Then retry to login again with google.

Now give this error:
Access blocked: This app’s request is invalid
You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch

i1Zeus commented

@masud-rana44
hello, I managed to fix the error.

http://localhost:3000/api/auth/callback/google

add this to the Authorised redirect URIs.

@i1Zeus i tried with this but still not working

@masud-rana44 I had the same issue, I changed the DNS and it fixed.

I am getting the same error. What was changed with DNS to fix the issue?

@ckeiler I just changed the DNS to something else, if you google DNS changer, you might find some tools to changed it