robrotheram / taiga-contrib-openid-auth

Taiga plugin for openid authentication
45 stars 25 forks source link

Plugin does not work if Taiga is served from a subpath #44

Open hadiahmed098 opened 1 year ago

hadiahmed098 commented 1 year ago

The main Taiga Docker images allow for the service to be deployed at a subpath, i.e. example.com/taiga. This plugin does not respect the TAIGA_SUBPATH variable and will break if the root of the domain is not the main Taiga instance.

I was able to fix this by added the sed line from the upstream taiga-front script (https://github.com/kaleidos-ventures/taiga-front/blob/main/docker/config_env_subst.sh#L57) and by bind-mounting several files to remove references to the leading slash (like here).

While I do have a functional workaround, this should just be supported as it is in the official Docker images.