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

Redirection to localhost while signing out and singing in

Open Sreehari78 opened this issue 2 years ago • 14 comments

Found a bug? Please fill out the sections below. 👍

Issue Summary

Ran into a bug while signing out of the calcom account. The domain got redirected to http://localhost:3000/

Steps to Reproduce

  1. Login to the domain
  2. sign out from the account
  3. gets redirected to http://localhost:3000/

Screen Recording for your reference

https://user-images.githubusercontent.com/51209834/235493504-c2d3b405-f312-49ef-b1fb-26c98a5efac8.mp4

Sreehari78 avatar May 01 '23 17:05 Sreehari78

I have reproduced the issue but it works fine in my case!

bottercode avatar May 01 '23 17:05 bottercode

@bottercode did you host in any virtual machine, we have been trying to make it work on GCP for the last 3 weeks and it's not working correctly, could you please give us the right step to make it work?

anandcdas avatar May 01 '23 21:05 anandcdas

I have reproduced the issue but it works fine in my case!

have you used the docker installation or normal installation process to install cal.com

anandcdas avatar May 01 '23 23:05 anandcdas

I have reproduced the issue but it works fine in my case!

have you used the docker installation or normal installation process to install cal.com

I have used docker for the installation.

bottercode avatar May 02 '23 07:05 bottercode

I have reproduced the issue but it works fine in my case!

have you used the docker installation or normal installation process to install cal.com

I have used docker for the installation.

what did you do to add the domain or subdomain to it, can you tell me the main steps? I have been trying to do it for a long time and it's not working for me. thanks a lot.

anandcdas avatar May 02 '23 08:05 anandcdas

I have reproduced the issue but it works fine in my case!

have you used the docker installation or normal installation process to install cal.com

I have used docker for the installation.

what did you do to add the domain or subdomain to it, can you tell me the main steps? I have been trying to do it for a long time and it's not working for me. thanks a lot.

What's the error you are facing. Can you attach a screenshot ?

bottercode avatar May 02 '23 09:05 bottercode

I have reproduced the issue but it works fine in my case!

have you used the docker installation or normal installation process to install cal.com

I have used docker for the installation.

what did you do to add the domain or subdomain to it, can you tell me the main steps? I have been trying to do it for a long time and it's not working for me. thanks a lot.

What's the error you are facing? Can you attach a screenshot?

same issue as mentioned by @Sreehari78 when I log out I get redirected to http://localhost:3000/ when I sign in also I get redirected to http://localhost:3000/

And in the profile, it's always www.localhost:3000/username not www.cal.example.com/username as shown in the screenshot.

Screenshot 2023-05-02 154745

anandcdas avatar May 02 '23 10:05 anandcdas

https://user-images.githubusercontent.com/93823479/235648945-b4faa368-3f28-47d8-91c8-1330e43bef1f.mov

I had reproduce the issue and attached the video but it is working little different in my case Can you please assign this issue to me

Vikram125609 avatar May 02 '23 10:05 Vikram125609

Screen.Recording.2023-05-02.at.4.24.57.PM.mov I had reproduce the issue and attached the video but it is working little different in my case Can you please assign this issue to me

this is when you host locally, I have hosted my cal in GCP. Thanks for your help.

anandcdas avatar May 02 '23 11:05 anandcdas

@Sreehari78 I think i had fixed the bug. Can you please have a look

https://user-images.githubusercontent.com/93823479/235652358-ab5e0a17-55d2-49c9-a73e-b56ef18128e8.mov

Vikram125609 avatar May 02 '23 11:05 Vikram125609

I think i had fixed the bug . Can you please have a look

Screen.Recording.2023-05-02.at.4.48.07.PM.mov

I think this will fix it but how to change www.localhost:3000/username to www.cal.example.com/username

Screenshot 2023-05-02 154745

currently, my username isn't mapped under my domain name. It's under localhost. when that is fixed automatically other one will be fixed.

anandcdas avatar May 02 '23 11:05 anandcdas

Can you please elaborate it more.... I think i didn't get you !

image

Here it is written cal.com/ on the hosted web app

image

Here it is written localhost running on my local machine

Vikram125609 avatar May 02 '23 11:05 Vikram125609

Can you please elaborate it more.... I think i didn't get you !

image

Here it is written cal.com/ on the hosted web app

image

Here it is written localhost running on my local machine

Can you please elaborate it more.... I think i didn't get you !

image

Here it is written cal.com/ on the hosted web app

image

Here it is written localhost running on my local machine

yes, when you host it in a local machine it should show as localhost but it's still showing as local host even when I self-hosted it in a Virtual machine. I can give you access to my virtual machine in GCP if you can give me your email ID so that you understand it better.

anandcdas avatar May 02 '23 12:05 anandcdas

Email : [email protected]

Vikram125609 avatar May 02 '23 12:05 Vikram125609

i think this is due to wrong .env settings. cant reproduce!

PeerRich avatar May 14 '23 21:05 PeerRich

@Vikram125609 Did you solve the issue? I couldn't see any further comments about what happened. I'm having the same issue.

Marcus1911 avatar May 01 '24 05:05 Marcus1911