T
Twenty7mo ago
paulyili

Connect with google

Trying to connect with google (i have connected it with 0.3.2 previously) Twenty is sending a request to google using https://api-prod.twenty.com/auth/google-apis/get-access-token Rather than https://crm.mydomain.com/auth/google-apis/get-access-token i wont share my google credentials, but i know i have the configured correctly as i can use SSO login.
4 Replies
charles
charles7mo ago
We have shipped our test endpoints into the container. Please set your own: AUTH_GOOGLE_APIS_CALLBACK_URL (it used to have a different name before) I have released a new container without our noisy test config, you should still set the AUTH_GOOGLE_APIS_CALLBACK_URL variable which will be the new one in the future
paulyili
paulyili7mo ago
much better! I noticed it didn't sync all emails like 0.3.2. i prefer this as some people may not want it to sync their whole mailbox. maybe there should be an option to sync all previous emails ?
charles
charles7mo ago
@Weiko if you want to give a bit more details on how the sync works
Weiko
Weiko7mo ago
Sure. Indeed we've introduced a new logic that skips all emails that are not "relevant" to a CRM. You can find the regex inside packages/twenty-server/src/modules/messaging/utils/gmail-search-filter.util.ts. Let me know if you have any specific question. The messaging sync is still evolving but we should have a robust version in the next version that we will document.
Want results from more Discord servers?
Add your server