Thanks so much @girish! That did the trick.
I
imle
@imle
Posts
-
Kutt will not let me set OIDC_ENABLED to true, installed before option available -
Kutt will not let me set OIDC_ENABLED to true, installed before option availableSorry, I should be more clear, I am trying to use keycloak to manage users who are not meant to manage tech tools. I am trying to set the value manually and use my own OIDC setup.
-
Kutt will not let me set OIDC_ENABLED to true, installed before option availableI installed the app before OIDC_ENABLED was an option that was available, now that it is in the app, I cannot set the value. It is overwritten by cloudron on startup.
Seems like this bit of code in the
start.shfile is the reason I cannot:if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then echo "==> Configure OIDC" sed -e "s|^OIDC_ENABLED=.*|OIDC_ENABLED=true|" \ -e "s|^OIDC_ISSUER=.*|OIDC_ISSUER=${CLOUDRON_OIDC_ISSUER}|" \ -e "s|^OIDC_CLIENT_ID=.*|OIDC_CLIENT_ID=${CLOUDRON_OIDC_CLIENT_ID}|" \ -e "s|^OIDC_CLIENT_SECRET=.*|OIDC_CLIENT_SECRET=${CLOUDRON_OIDC_CLIENT_SECRET}|" \ -e "s|^OIDC_SCOPE=.*|OIDC_SCOPE=openid profile email|" \ -e "s|^OIDC_EMAIL_CLAIM=.*|OIDC_EMAIL_CLAIM=email|" \ -i /app/data/env else sed -e "s|^OIDC_ENABLED=.*|OIDC_ENABLED=false|" -i /app/data/env fi