mosh-hamedani / issue-tracker

https://issue-tracker-pied.vercel.app
220 stars 101 forks source link

Error Encountered During Google Account Sign-In #1

Open masud-rana44 opened 1 year ago

masud-rana44 commented 1 year ago

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."

naimur-reza commented 1 year ago

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.

masud-rana44 commented 1 year ago

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 1 year ago

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

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

add this to the Authorised redirect URIs.

masud-rana44 commented 1 year ago

@i1Zeus i tried with this but still not working

MRAlirad commented 1 year ago

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

ckeiler commented 1 year ago

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

MRAlirad commented 1 year ago

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