Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Kutt
  3. 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 available

Scheduled Pinned Locked Moved Kutt
5 Posts 3 Posters 38 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    imle
    wrote last edited by
    #1

    I 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.sh file 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
    
    1 Reply Last reply
    1
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by joseph
      #2

      Hello @imle and welcome to the Cloudron forum

      Yes that is the correct behaviour.
      You will need to install a new kutt app and chose the let Cloudron manage the users.
      After that you can import the backup of your old app into the new one.
      This the migration path you should take.

      1 Reply Last reply
      1
      • I Offline
        I Offline
        imle
        wrote last edited by
        #3

        Sorry, 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.

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote last edited by
          #4

          I think I have fixed this now with the latest package, can you check @imle ? OIDC_ENABLED is untouched if you disable Cloudron user integration.

          1 Reply Last reply
          2
          • I Offline
            I Offline
            imle
            wrote last edited by
            #5

            Thanks so much @girish! That did the trick.

            1 Reply Last reply
            1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search