<?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[403 in proxyAuth apps after server migration]]></title><description><![CDATA[<p dir="auto">I recently migrated my server to a new one (classic backup + restore process).</p>
<p dir="auto">After the restore, I noticed an issue with some apps : I kept getting a 403 error.</p>
<p dir="auto"><img src="/assets/uploads/files/1643752278012-00a3f78a-8ff2-4eb6-a99c-25b8b2da5276-image-resized.png" alt="00a3f78a-8ff2-4eb6-a99c-25b8b2da5276-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">After a bit of investigation, it turned out that it was only for some specific apps : those that use the <code>proxyAuth</code> plugin. What was happening was that the browser still had a valid cookie for the app, so it sent it. The <code>proxyAuth</code> plugin, seeing a cookie, checked it, and it was incorrect (I suppose current sessions are not part of the backup so are not migrated, which makes sense).</p>
<p dir="auto">The problem is, instead of simply redirecting to the login page, the app keeps throwing the 403 error. For technical users, it's not really a big problem : one can just clear the site's cookies and it's all good to go. However, for less technical users, it can be a pain.</p>
]]></description><link>https://forum.cloudron.io/topic/6425/403-in-proxyauth-apps-after-server-migration</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 13:36:39 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6425.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Feb 2022 21:54:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 403 in proxyAuth apps after server migration on Wed, 02 Feb 2022 02:02:52 GMT]]></title><description><![CDATA[<p dir="auto">I was able to reproduce both issues, thanks for reporting!</p>
<ul>
<li>The proxy auth cookie secret is not persisted. It's stored in platform runtime data. I have migrated this into the database.</li>
<li>Redirection logic was incorrect when the token is invalid. This is also fixed.</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/42749</link><guid isPermaLink="true">https://forum.cloudron.io/post/42749</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 02 Feb 2022 02:02:52 GMT</pubDate></item><item><title><![CDATA[Reply to 403 in proxyAuth apps after server migration on Tue, 01 Feb 2022 22:19:25 GMT]]></title><description><![CDATA[<p dir="auto">this condition can be checked for and some action performed within the nginx config.</p>
]]></description><link>https://forum.cloudron.io/post/42739</link><guid isPermaLink="true">https://forum.cloudron.io/post/42739</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Tue, 01 Feb 2022 22:19:25 GMT</pubDate></item></channel></rss>