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

[CAL-814] /book endpoint can't be directly embedded.

Open hariombalhara opened this issue 2 years ago • 1 comments

Hi guys, can someone help me? I just want to open the link '/omgitsshark/book?type=7&date=2023-01-17T13%3A30%3A00%2B01%3A00&slug=30min&count=12&getsignature' in embed solution by calLink but recieve 404 page, if I visit link directly(https://staging.cal.profi.io/omgitsshark/book?type=7&date=2023-01-17T13%3A30%3A00%2B01%3A00&slug=30min&count=12&getsignature) - all is fine. Also I want to extend Cal init payload to pass user information when user authorized in our application, do you have documentation about this?

Slack Message

CAL-814

hariombalhara avatar Jan 17 '23 14:01 hariombalhara

I think I found the issue, you want to directly open /book which is something I didn't expect users would do. Will have to handle it. Normally the flow is that the booker would pick the timeslot which is the previous page and from there onwards the flow works

hariombalhara avatar Jan 17 '23 14:01 hariombalhara

@hariombalhara Also take into account that when the new booker is done, both the datepicker + booking form will be on one page. So from that moment on the /book page won't exist anymore.

JeroenReumkens avatar Feb 28 '23 08:02 JeroenReumkens

We don't want to support embedding it. See https://github.com/calcom/cal.com/pull/7801#issuecomment-1486440101

hariombalhara avatar Apr 04 '23 05:04 hariombalhara