<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Public Forms redirect to OIDC due to hardcoded GRIST_FORCE_LOGIN]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">We have been trialing Grist for a new project but have run into an issue.</p>
<p dir="auto">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.</p>
<p dir="auto">This appears to be caused by the environment variable <code>GRIST_FORCE_LOGIN</code>, which needs to be set to <code>false</code> for forms to be publicly accessible.</p>
<p dir="auto">We tried setting this in the <code>env.sh</code> file, but it had no effect. Upon investigating, it appears the variable is being set to <code>true</code> in <a href="https://git.cloudron.io/packages/grist-app/-/blob/main/start.sh#L28" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a>, and user configuration from <a href="https://git.cloudron.io/packages/grist-app/-/blob/main/start.sh#L10" target="_blank" rel="noopener noreferrer nofollow ugc">env.sh</a> is sourced earlier.</p>
<p dir="auto">Any suggestions, other than cloning the package? Maybe <code>env.sh</code> can be called after the hard coded variables?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/15402/public-forms-redirect-to-oidc-due-to-hardcoded-grist_force_login</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 10:22:29 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15402.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Apr 2026 23:25:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Public Forms redirect to OIDC due to hardcoded GRIST_FORCE_LOGIN on Thu, 16 Apr 2026 09:56:10 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/paramedicspecialist" aria-label="Profile: paramedicspecialist">@<bdi>paramedicspecialist</bdi></a></p>
<p dir="auto">This is because the app currently sets this value on each start and overwritting the <code>env.sh</code><br />
<a href="https://git.cloudron.io/packages/grist-app/-/blob/main/start.sh?ref_type=heads#L28" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/packages/grist-app/-/blob/main/start.sh?ref_type=heads#L28</a></p>
<p dir="auto">We will have to publish an app update to make this configurable by the user.</p>
]]></description><link>https://forum.cloudron.io/post/123513</link><guid isPermaLink="true">https://forum.cloudron.io/post/123513</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 16 Apr 2026 09:56:10 GMT</pubDate></item></channel></rss>