Skip to content
Discussion options

You must be logged in to vote

That warning is the root cause of your login loop. Cal.com’s recent versions require a valid organization context, which is determined by parsing the hostname into a slug. If you access the app via an IP address (like 192.168.1.127:3000), the derived slug contains dots, so Cal.com refuses to treat it as an org domain—this disables org context and breaks authentication, resulting in the login loop you’re seeing (source).

To fix this, either use a real domain or subdomain (even locally, you can add a line to your hosts file and use something like cal.localhost), or set the SINGLE_ORG_SLUG environment variable for single-tenant/local setups. This will bypass the org domain check and restore…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@charleslcso
Comment options

@dosubot
Comment options

@charleslcso
Comment options

Answer selected by charleslcso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant