-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing ROOT URL / /auth
location
#118
Comments
Hi @pat-s Adding |
Thanks! Looked promising but did not help. Maybe because the default of the env var points to a localhost port and cannot accept a public URL therefore? |
Is running Calendso on a subdomain possible? |
Hi @pat-s Went a little deeper into the issue for you and I found nextauthjs/next-auth#499 with helpful suggestions; Most relevant to your situation is nextauthjs/next-auth#499 (comment) (P.s. no, public URLs work fine) |
Thanks @emrysal, looks promising. I am not into JS myself but it might be that additional changes in the code are required so that Happy to test proposed solutions or to apply simple changes to the code.
I have not tried yet because this would mean spinning up a new machine just for this service. |
Changing the environment variable to prepend the |
Sure. The question was if it has an effect then / if the code is actually making use of the env var then. < Furthermore, you are able to run Calendso on a subdomain using a machine with other existing services. Just use virtual hosts or soemthing, it’s super simple. Thanks, I am aware of this possibility - working in the devops space :) Thanks for your help. |
Yes, the code would be making use of the environment variable still, that shouldn’t be the issue. If nothing in the issue Alex mentioned earlier on Next-Auth’s repo doesn’t work, we may have to put this on hold for a while, as we don’t have the resources at the moment to be able to support lots of custom configurations, and therefore only support installations on their own domain/sub domain. Hopefully we can look at this further in the future |
…ilent Disable sendgrid for silent
Found a bug? Please fill out the sections below. 👍
Issue Summary
I would like to run
calendso
in a subdirectory.While redirection works for the initial request, the
/auth
location seems to be hardcoded.Hence all requests from within calendso are requesting
$DOMAIN/auth
instead of$DOMAIN/calendso/auth
.I would be ok with using
$DOMAIN/auth
but in my case I have another service already running at$DOMAIN/auth
, hence I think there is a need for a dynamic ROOT URL variable within project.The text was updated successfully, but these errors were encountered: