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://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
- scope=https://www.googleapis.com/auth/userinfo.profile
https://mailtrack.io/trace/link/39498290efed23f3c59e1d51af0aca76402d6ea2?url=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&signature=a538475bef1e74c7
https://www.googleapis.com/auth/userinfo.email
https://mailtrack.io/trace/link/f6715802c3bd7d5c74e45c7e786fc3f5b432b18d?url=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&signature=08f94dcc4ef78f79 - response_type=code
- state={“token”:
“f7970b51699e59800aa8b1f7022f1378bb3491050afcf5c5076b1764”, “site”: "
https://swastik.erpnext.com
https://mailtrack.io/trace/link/1673f6928fe78db5d6aeab8ff0dbc88a6e885597?url=https%3A%2F%2Fswastik.erpnext.com&signature=d99813ac4fd8278b
"} - redirect_uri=
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 - client_id=
842205845202-g2tp4sauujmsduj9v7fd0mjpksjubtu4.apps.googleusercontent.com
That’s all we know.
I did try http, but not go.
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-%2526-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-%2526-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.
This URL link does not exist anymore “https://github.com/frappe/erpnext/blob/develop/erpnext/docs/user/manual/en/website/setup/social-login-keys.md”.
If you get this message, could you write out a sample of how the correct redirect uri should be written? Thank you