Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Cal.com
  3. appointment confirmation link misredirection?

appointment confirmation link misredirection?

Scheduled Pinned Locked Moved Cal.com
2 Posts 2 Posters 14 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Teiluj
    wrote last edited by
    #1

    Hi,

    Within cal.com, there is a possibility to define event-types.
    One of the event-types parameters is to setup whether a booking derivated from this event-type requires confirmation from the user or not.

    In the case when the parameter is set to requiring confirmation and a booking is being made, the cal.com user receives an email with a couple of buttons to confirm or reject the booking.

    12a91004-ed76-4634-8177-bbaff7853b3e-image.png

    The links to confirm / reject the booking within the email body are correct (pointing to the right cal.com cloudron server) and send the user initially back to the server where the cal.com application instance is running - so Clicking on a confirm/reject button from the email opens a browser page which initially seems to call resources on the related server via the application api with a URL one would expect:
    https://cal.mycloudronserver.com/api/link/?token=xxxxxxxxxxxxxx

    Yet upon the server response from the api link, the browser then redirects to a URL referring to "localhost:3000"
    https://localhost:3000/booking/xxxxxxxxxxx
    which in turns results in an error from the browser which cannot load the related ressources, as one can imagine.

    Interestingly, manually replacing the "localhost:3000" url/domain part with the the domain where the instance of cal.com is running result in the expected page properly loading.

    I have to confess that at this stage, I have not dug much further.
    But maybe someone here already has come accross this already?

    Would this be a app config error? or potentially a app package one? or something to relay upstream?

    Many thanks,

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote last edited by
      #2

      Sounds like an unset variable

      Conscious tech

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search