Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ignore oAuthClientId for Booker Embed bookings #18314

Merged
merged 11 commits into from
Jan 6, 2025

Conversation

ThyMinimalDev
Copy link
Contributor

@ThyMinimalDev ThyMinimalDev commented Dec 20, 2024

What does this PR do?

Adding X_CAL_PLATFORM_EMBED which is set in the CalProvider when Embed atoms are used.

we then use this header in booking controller to know when to ignore oauth client settings while sending emails. this ensures similar behaviour than on web.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jan 6, 2025 0:45am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 6, 2025 0:45am

@dosubot dosubot bot added the bookings area: bookings, availability, timezones, double booking label Dec 20, 2024
@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels Dec 20, 2024
@graphite-app graphite-app bot requested a review from a team December 20, 2024 22:11
Copy link

graphite-app bot commented Dec 20, 2024

Graphite Automations

"Add platform team as reviewer" took an action on this PR • (12/20/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@supalarry
Copy link
Contributor

As I understand by this campsite thread, this is supposed to resolve platform booker ambed not sending emails, but if we remove the client id header in this PR, then emails would not be sent.

Isn't the solution to make sure that the OAuth client used for booker embed has emails enabled ?

@ThyMinimalDev ThyMinimalDev marked this pull request as draft January 6, 2025 11:42
@ThyMinimalDev ThyMinimalDev marked this pull request as ready for review January 6, 2025 12:39
Copy link
Contributor

github-actions bot commented Jan 6, 2025

E2E results are ready!

@ThyMinimalDev ThyMinimalDev merged commit 657f9df into main Jan 6, 2025
40 of 60 checks passed
@ThyMinimalDev ThyMinimalDev deleted the ignore-oauth-client-id-for-bookings-embed branch January 6, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bookings area: bookings, availability, timezones, double booking core area: core, team members only platform Anything related to our platform plan ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants