cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

fix: zoho installaltion

Open Pritam-sd-dev opened this issue 1 year ago • 5 comments
trafficstars

What does this PR do?

This PR fixes error that we get on zohocalender installation.

Fixes # (issue) fixes #12955 fixes #12405

Before https://www.loom.com/share/b82a551a2a2c4b11ad6aefdcc55104e9?sid=d2a638a4-ad7f-4670-8a77-0edab4f7c3ff After https://www.loom.com/share/06ad87f1c8ee4e30a44753daea034f67?sid=478e9091-9028-418e-8783-4592e94fc3d2

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Changes of this PR can be verified by installing zohocalender for different region's accounts like US, IN, EU etc

Pritam-sd-dev avatar Feb 17 '24 05:02 Pritam-sd-dev

@Pritam-sd-dev is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 17 '24 05:02 vercel[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 17 '24 05:02 CLAassistant

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

github-actions[bot] avatar Feb 17 '24 05:02 github-actions[bot]

Graphite Automations

A Graphite automation took an action on this PR • (02/28/24)

1 reviewer was added based on Keith Williams's automation, 'Add consumer team as reviewer'

A Graphite automation took an action on this PR • (02/17/24)

1 label was added based on Keith Williams's automation, 'Add community label'

graphite-app[bot] avatar Feb 17 '24 05:02 graphite-app[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

github-actions[bot] avatar Feb 17 '24 05:02 github-actions[bot]

Thanks for your contribution @Pritam-sd-dev. I'm reviewing your PR and I'm trying to understand how this PR would solve those issues.

From what I see the serverDomain is something we would set on our side. If the server is in the US and stays as .com how would that address the issue?

joeauyeung avatar Mar 04 '24 18:03 joeauyeung

The first api that we hit returns the user's domain

Pritam-sd-dev avatar Mar 04 '24 18:03 Pritam-sd-dev

For more details, you can refer to zoho calendar docs

Pritam-sd-dev avatar Mar 04 '24 18:03 Pritam-sd-dev

@joeauyeung You can refer to https://www.zoho.com/crm/developer/docs/api/v6/multi-dc.html When we make Auth request in response we get a value of server.

Pritam-sd-dev avatar Mar 04 '24 18:03 Pritam-sd-dev

But what if user wants to have multiple calendars with different domain ?

Pritam-sd-dev avatar Mar 04 '24 23:03 Pritam-sd-dev

But what if user wants to have multiple calendars with different domain ?

That's a good point. If a user has a calendar with a different domain is that also a different Zoho account? Every time a Cal.com user goes through the Zoho OAuth flow we create a different credential so we can still store the domain data under the key field of each credential.

joeauyeung avatar Mar 08 '24 20:03 joeauyeung

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Mar 23 '24 00:03 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Apr 11 '24 00:04 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Apr 30 '24 00:04 github-actions[bot]

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar May 31 '24 00:05 github-actions[bot]

Closing in favor of #14905

joeauyeung avatar Jun 05 '24 18:06 joeauyeung