Skip to content

refactor: CalProvider isEmbed #24966

@supalarry

Description

@supalarry
  1. CalProvider does not have isEmbed prop described https://cal.com/docs/platform/atoms/cal-provider which lead to platform customer using usual Booker component and passing isEmbed={true} and that ignored their OAuth client. Document this prop and when to use it and how and what happens if you use it as true and use normal booker that oauth client settings will be ignored.
  2. We had a customer who passed isEmbed to CalProvider but used normal Booker which means their oAuth client settings were ignored - I am thinking we need a check that if the "x-cal-platform-embed" header is passed as "true" we still check if the OAuth client id passed is not the one belonging to us.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions