Social Keys Login Help

I am getting this error after configuring social keys via google. Please help.

Can you please paste the error instead of image?

Can you also try by using http instead of https, if that works.

Hi Kanchan, this is the error in text -

400. That’s an error.

Error: redirect_uri_mismatch

Application: ERPNext

You can email the developer of this application at:
hiral@swastiktechnopack.net

The redirect URI in the request,
https://swastik.erpnext.com/api/method/frappe.www.login.login_via_google
https://mailtrack.io/trace/link/028c5164af9024f5f9e648c366748561c1deb47f?url=https%3A%2F%2Fswastik.erpnext.com%2Fapi%2Fmethod%2Ffrappe.www.login.login_via_google&signature=5621fc44be80b90b,
does not match the ones authorized for the OAuth client. Visit
https://console.developers.google.com/apis/credentials/oauthclient/842205845202-g2tp4sauujmsduj9v7fd0mjpksjubtu4.apps.googleusercontent.com?project=842205845202
https://mailtrack.io/trace/link/d4041f34e05026343325462b0c5378d6624119eb?url=https%3A%2F%2Fconsole.developers.google.com%2Fapis%2Fcredentials%2Foauthclient%2F842205845202-g2tp4sauujmsduj9v7fd0mjpksjubtu4.apps.googleusercontent.com%3Fproject%3D842205845202&signature=a06217c938691ee0
to update the authorized redirect URIs.

Learn more
https://mailtrack.io/trace/link/229a40c4a9d80ddf22a88d49a290eecc4c7c501b?url=http%3A%2F%2Fdevelopers.google.com%2Faccounts%2Fdocs%2FOAuth2Login%23setredirecturi&signature=d55cdc6817faabf7
Request Details

That’s all we know.

I did try http, but not go.

https://mailtrack.io/trace/link/879b47c69a082c50145aaf5732b8f11ad932207d?url=https%3A%2F%2Fmailtrack.io%2Finstall%3Fsource%3Dsignature%26lang%3Den%26referral%3Dhiral%40swastiktechnopack.net%26idSignature%3D22&signature=9b2e1716f8563b7d

Hiral Pancholi - Director || Projects hiral@swastiktechnopack.net
hiral@swastiktechnopack.net

https://mailtrack.io/trace/link/493d04bd47a4c64082a98e1f651c1afe495462f7?url=http%3A%2F%2Fwww.youtube.com%2Fswastikvideos&signature=c78c5510f45c582c
HO Address : A1, Symphony IT Park, Near Megarugus Hall, Chandivali Farm
Road, Chandivali, Andheri East, Mumbai - 400072, India. Phone :
+912228476631 || +912228576627

Leading Manufacturers Of Machinery For Perfumery & Cosmetics.Since 1984.
To know more click on the links below.

*Creative Engineering || Logical Designing *
https://mailtrack.io/trace/link/366cd36758037231406c4dcd6b070ce5e48fe4a3?url=https%3A%2F%2Fflipboard.com%2Fsection%2Fswastik-technopack-pvt.-ltd.---perfume-%26-cosmetics-machinery-manufacturers-bxGuDf&signature=41871b83cc04c9a9

*Video Channel : www.youtube.com/swastikvideos
https://mailtrack.io/trace/link/493d04bd47a4c64082a98e1f651c1afe495462f7?url=http%3A%2F%2Fwww.youtube.com%2Fswastikvideos&signature=c78c5510f45c582c
|| Website : www.swatiktechnopack.net
https://mailtrack.io/trace/link/6b551c75fa3fd475315a78b0e5d4aabdddffde4a?url=http%3A%2F%2Fwww.swastiktechnopack.net&signature=be5990fc3ac98217
||
Magazine : Click Here
https://mailtrack.io/trace/link/366cd36758037231406c4dcd6b070ce5e48fe4a3?url=https%3A%2F%2Fflipboard.com%2Fsection%2Fswastik-technopack-pvt.-ltd.---perfume-%26-cosmetics-machinery-manufacturers-bxGuDf&signature=41871b83cc04c9a9
Global Profile
https://mailtrack.io/trace/link/5da77f050ec7f82ec226086e40a9d06765a7c163?url=http%3A%2F%2Fwww.alternion.com%2Fusers%2Fswastiktechnopack&signature=641a3c86fb4d8cd0
|| *LinkedIn Page
https://mailtrack.io/trace/link/91f690e2db76a5d7ff795ff2b0ade7d3d5aa8bd7?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fswastik-techno-pack-pvt.-ltd.&signature=9eeafead9be27091
|| Google Plus Page
https://mailtrack.io/trace/link/af06b07ed92352f3f9ffed0c742ae4d27bc6de32?url=https%3A%2F%2Fplus.google.com%2F111417337512077063981%2Fposts&signature=e80397535347442a
|| Facebook Page
https://mailtrack.io/trace/link/388d92b7d6ceee30ccbede12525249abcd78d967?url=https%3A%2F%2Fwww.facebook.com%2Fswastiktechnopk&signature=75bb9060f5ac6805

Any Update or Fix?

Hi,

I am facing the same issue!

Please find the solution for this Issue. Found this after a long hunt, finally fixed it.