Public Forms redirect to OIDC due to hardcoded GRIST_FORCE_LOGIN
-
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 tofalsefor forms to be publicly accessible.We tried setting this in the
env.shfile, but it had no effect. Upon investigating, it appears the variable is being set totruein start.sh, and user configuration from env.sh is sourced earlier.Any suggestions, other than cloning the package? Maybe
env.shcan be called after the hard coded variables?Thanks!
-
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#L28We will have to publish an app update to make this configurable by the user.
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