<?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[OIDC login broken with 8.1.0 update]]></title><description><![CDATA[<p dir="auto">Hi there! I already sent an email to support, but since it's quite urgent, trying here as well, maybe someone has a solution for this. After updating to 8.1.0, OIDC authentication doesn't work anymore. It's easily reproducable, fresh install on 8.0.6 works, 8.1.0 doesn't.</p>
<p dir="auto">It says Service Unavailable and refuses to login and logs show this:</p>
<pre><code>WARN: [OpenID] Unknown OP error
err: {
"type": "OPError",
"message": "unauthorized_client (requested grant type is not allowed for this client)",
"stack":
OPError: unauthorized_client (requested grant type is not allowed for this client)
</code></pre>
<p dir="auto">Any ideas/workarounds <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a>?</p>
]]></description><link>https://forum.cloudron.io/topic/12817/oidc-login-broken-with-8-1-0-update</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 05:18:55 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12817.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Nov 2024 07:38:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 17:11:36 GMT]]></title><description><![CDATA[<p dir="auto">So after some debugging, the actual fix is to enable the <code>refresh_token</code> grant type also: <a href="https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f</a></p>
<p dir="auto">Basically if you add this (also put back the previously suggested code bit) and <code>sytemctl restart box</code> then this should work also for existing directus instances I think.</p>
]]></description><link>https://forum.cloudron.io/post/97029</link><guid isPermaLink="true">https://forum.cloudron.io/post/97029</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 18 Nov 2024 17:11:36 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 22:25:26 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> &amp; <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, this does indeed fix everything, appreciate it <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=13d69e59554" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
]]></description><link>https://forum.cloudron.io/post/97047</link><guid isPermaLink="true">https://forum.cloudron.io/post/97047</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 18 Nov 2024 22:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 18:10:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> thanks!<br />
I confirm the below fixes it:</p>
<pre><code class="language-shell">curl https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f.diff | patch -d /home/yellowtent/box -p1
systemctl restart box
</code></pre>
]]></description><link>https://forum.cloudron.io/post/97034</link><guid isPermaLink="true">https://forum.cloudron.io/post/97034</guid><dc:creator><![CDATA[c0decafe]]></dc:creator><pubDate>Mon, 18 Nov 2024 18:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 17:11:36 GMT]]></title><description><![CDATA[<p dir="auto">So after some debugging, the actual fix is to enable the <code>refresh_token</code> grant type also: <a href="https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/commit/16fa3390252e29f1803a18990c7b104817fa4d9f</a></p>
<p dir="auto">Basically if you add this (also put back the previously suggested code bit) and <code>sytemctl restart box</code> then this should work also for existing directus instances I think.</p>
]]></description><link>https://forum.cloudron.io/post/97029</link><guid isPermaLink="true">https://forum.cloudron.io/post/97029</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 18 Nov 2024 17:11:36 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 15:57:20 GMT]]></title><description><![CDATA[<p dir="auto">I confirm that commenting out <code>issueRefreshToken()</code> works only with a fresh install of directus.</p>
]]></description><link>https://forum.cloudron.io/post/97027</link><guid isPermaLink="true">https://forum.cloudron.io/post/97027</guid><dc:creator><![CDATA[c0decafe]]></dc:creator><pubDate>Mon, 18 Nov 2024 15:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 15:34:30 GMT]]></title><description><![CDATA[<p dir="auto">got bitten by this too, commenting out <code>issueRefreshToken</code> + restarting box didn't help:</p>
<pre><code class="language-json">{
  "name": "DirectusError",
  "extensions": {
    "service": "openid",
    "reason": "Service returned unexpected response: requested grant type is not allowed for this client"
  },
  "code": "SERVICE_UNAVAILABLE",
  "status": 503
}
</code></pre>
]]></description><link>https://forum.cloudron.io/post/97026</link><guid isPermaLink="true">https://forum.cloudron.io/post/97026</guid><dc:creator><![CDATA[c0decafe]]></dc:creator><pubDate>Mon, 18 Nov 2024 15:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 13:25:10 GMT]]></title><description><![CDATA[<p dir="auto">Quick update: apparently removing that snippet and fresh install is working, but for various reasons, reinstalling all my Directus instances is not a great option. Thing I've tried and didn't work: restarting app/box/server, changing location, permissions, cloning, using a fresh browser.</p>
]]></description><link>https://forum.cloudron.io/post/97017</link><guid isPermaLink="true">https://forum.cloudron.io/post/97017</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 18 Nov 2024 13:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 12:34:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thanks for the reply, but still getting the same error even after restarting box and Directus. Any other ideas? Some cache that I might need to empty?</p>
]]></description><link>https://forum.cloudron.io/post/97011</link><guid isPermaLink="true">https://forum.cloudron.io/post/97011</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 18 Nov 2024 12:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to OIDC login broken with 8.1.0 update on Mon, 18 Nov 2024 10:30:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a> I could reprodue this. As a quick fix, you have to revert <a href="https://git.cloudron.io/platform/box/-/commit/8621fbda7963b048aa49741c34ff283840f24c90" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/commit/8621fbda7963b048aa49741c34ff283840f24c90</a> .</p>
<ul>
<li>Edit <code>/home/yellowtent/box/src/oidc.js</code></li>
<li>Delete that function <code>issueRefreshToken</code> entirely</li>
<li><code>systemctl restart box</code></li>
</ul>
<p dir="auto">Unfortunately, removing above has the sideeffect of showing warnings in dokuwiki alone. But for other apps this is not a problem.</p>
]]></description><link>https://forum.cloudron.io/post/97003</link><guid isPermaLink="true">https://forum.cloudron.io/post/97003</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 18 Nov 2024 10:30:35 GMT</pubDate></item></channel></rss>