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. Grist
  3. Public Forms redirect to OIDC due to hardcoded GRIST_FORCE_LOGIN

Public Forms redirect to OIDC due to hardcoded GRIST_FORCE_LOGIN

Scheduled Pinned Locked Moved Grist
3 Posts 3 Posters 30 Views 4 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.
  • P Offline
    P Offline
    paramedicspecialist
    wrote last edited by paramedicspecialist
    #1

    Hello,

    We have been trialing Grist for a new project but have run into an issue.

    We are attempting to publish a form so it's publicly accessible, however we are running into an issue where it redirects to OIDC login instead of showing the form.

    This appears to be caused by the environment variable GRIST_FORCE_LOGIN, which needs to be set to false for forms to be publicly accessible.

    We tried setting this in the env.sh file, but it had no effect. Upon investigating, it appears the variable is being set to true in start.sh, and user configuration from env.sh is sourced earlier.

    Any suggestions, other than cloning the package? Maybe env.sh can be called after the hard coded variables?

    Thanks!

    1 Reply Last reply
    4
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @paramedicspecialist

      This is because the app currently sets this value on each start and overwritting the env.sh
      https://git.cloudron.io/packages/grist-app/-/blob/main/start.sh?ref_type=heads#L28

      We will have to publish an app update to make this configurable by the user.

      1 Reply Last reply
      1
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote last edited by nebulon
        #3

        The new package allows to override that variable now in the env.sh file.

        1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question
        • nebulonN nebulon marked this topic as a regular topic

        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