frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
19.78k stars 7.01k forks source link

Google Contact: Not able to Authorize Google Contacts Access #39962

Open elbeicktalat opened 6 months ago

elbeicktalat commented 6 months ago

Information about bug

I'm trying to Authorize ERPNext to Access my Google Contacts, but I'm facing an issue with it.

I have already enabled Google Contacts Api on GCP, also I have enabled Google Drive backup and it's working correctly. So Google settings is OK.

I did follow the documentation to integrate Google Contacts, but when I click to Authorize Google Contacts Access button, the app kick me out automatically showing a popup with following message: Password Not found for Google Contacts GC-example@gmail.com authorization_code

I really can't understand the issue.

Module

integrations

Version

Frappe Framework: v15.12.0 (version-15) ERPNext: v15.11.0 (version-15)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

erik-gross-hardt commented 5 months ago

I get the same error when I try to authorize the Google Contacts Integration. My ERPNext instance is deployed using docker and I think the error originates from: apps/frappe/frappe/integrations/doctype/google_contacts/google_contacts.py:60

When I compared the implemenation to the Google Calendar Integration I noticed that raise_exception=False might be missing calling get_password(...) causing an unhandled exception that aborts the OAuth flow.

bastelfeak commented 4 months ago

Any news here? I found already the same issue in v15.10.3

tomtomlion commented 3 months ago

Same problem with v15.21.2. For a very short period I can see the same message as @elbeicktalat and then I get kicked out of the system and I'm forwarded to the ERPNext login screen. Google Drive is working properly.

maxfu9 commented 2 months ago

Is anyone working on it?

chrisjameslennon commented 1 month ago

Issue persists in version 15.30.0

serkan-ozturk commented 1 day ago

Still an issue. Google Calendar works but Contacts not working...