<?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[Using app proxy with pgadmin]]></title><description><![CDATA[<p dir="auto">I'm trying to use the app proxy to proxy to my pgadmin container (which is only available on a private network), but I can't make it work.</p>
<p dir="auto">Here's the setup:</p>
<ul>
<li>pgadmin is available on 10.0.A.B:5050 (started as a container). I've tested a direct connection through a ssh tunnel, it works</li>
<li>cloudron has a public interface and a private one (10.0.C.D), which can reach pgadmin (tested too)</li>
<li>I created an app proxy to <a href="http://10.0.A.B:5050" target="_blank" rel="noopener noreferrer nofollow ugc">http://10.0.A.B:5050</a>, available to all users</li>
</ul>
<p dir="auto">What happens:</p>
<ul>
<li>I get the cloudron login page and when I log in (with the correct credentials) it redirects to the same login page</li>
<li>In the pgadmin logs I see (213.X.Y.186 is the IP address of my laptop, not the one of my cloudron instance):</li>
</ul>
<pre><code>pgadmin4_container  | 213.X.Y.186 - - [04/Sep/2023:07:38:42 +0000] "GET / HTTP/1.1" 302 217 "https://pgadmin.domain.net/login?next=%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0"
pgadmin4_container  | ::ffff:10.0.C.D - - [04/Sep/2023:07:38:50 +0000] "GET / HTTP/1.1" 302 217 "-" "Mozilla (CloudronHealth)"
</code></pre>
<p dir="auto">Note that hitting directly <a href="https://pgadmin.domain.net/login?next=%2F" target="_blank" rel="noopener noreferrer nofollow ugc">https://pgadmin.domain.net/login?next=%2F</a> from my browser yields the same behavior (infinite cloudrin login page).</p>
<p dir="auto">What I was expecting:</p>
<ul>
<li>After logging with my cloudron credentials, I was expecting to see the pgadmin login page</li>
</ul>
<p dir="auto">It seems related to <a href="https://forum.cloudron.io/topic/9477/app-proxy-redirects-to-upstream-uri">this</a>, although that's unresolved.</p>
]]></description><link>https://forum.cloudron.io/topic/9963/using-app-proxy-with-pgadmin</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 00:09:13 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9963.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2023 07:51:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using app proxy with pgadmin on Tue, 15 Oct 2024 15:06:20 GMT]]></title><description><![CDATA[<p dir="auto">I've tried to use pgadmin and jupyter notebook under App Proxy today and I can confirm that the issue still exists, since /login/ locations are required by both apps but are also reserved for cloudron. Pretty annoying !</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> : this is <em>not</em> solved, can you unmark it?</p>
]]></description><link>https://forum.cloudron.io/post/95660</link><guid isPermaLink="true">https://forum.cloudron.io/post/95660</guid><dc:creator><![CDATA[cpa]]></dc:creator><pubDate>Tue, 15 Oct 2024 15:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Tue, 01 Oct 2024 08:54:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpa" aria-label="Profile: cpa">@<bdi>cpa</bdi></a> the Proxy App has indeed moved to OIDC. I am not sure if pgadmin now has unathenticated access. Without that, you cannot use Proxy App in Cloudron authentication mode. Are you able to use the Proxy App in 'Leave user management to the app' mode?</p>
]]></description><link>https://forum.cloudron.io/post/94961</link><guid isPermaLink="true">https://forum.cloudron.io/post/94961</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Oct 2024 08:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Mon, 30 Sep 2024 19:48:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi! Just checking on the status of this issue/improvement. Has it been implemented? I couldn't find any info in the docs.</p>
]]></description><link>https://forum.cloudron.io/post/94946</link><guid isPermaLink="true">https://forum.cloudron.io/post/94946</guid><dc:creator><![CDATA[cpa]]></dc:creator><pubDate>Mon, 30 Sep 2024 19:48:14 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Wed, 06 Sep 2023 12:07:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpa" aria-label="Profile: cpa">@<bdi>cpa</bdi></a> it's being tracked <a href="https://git.cloudron.io/cloudron/box/-/issues/822" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/issues/822</a> . Note the issue tracker is internal, so you cannot see it.</p>
]]></description><link>https://forum.cloudron.io/post/73227</link><guid isPermaLink="true">https://forum.cloudron.io/post/73227</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 06 Sep 2023 12:07:46 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Wed, 06 Sep 2023 11:40:26 GMT]]></title><description><![CDATA[<p dir="auto">Not sure what that means/implies, but looks like you think that'll be the right way to solve this so good enough for me! Should I create a ticket for this change somewhere?</p>
]]></description><link>https://forum.cloudron.io/post/73225</link><guid isPermaLink="true">https://forum.cloudron.io/post/73225</guid><dc:creator><![CDATA[cpa]]></dc:creator><pubDate>Wed, 06 Sep 2023 11:40:26 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Wed, 06 Sep 2023 10:04:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpa" aria-label="Profile: cpa">@<bdi>cpa</bdi></a> yeah, <code>cloudron-login</code> is reasonable. We are moving over the proxy auth to oidc, so the routes get automatically renamed.</p>
]]></description><link>https://forum.cloudron.io/post/73220</link><guid isPermaLink="true">https://forum.cloudron.io/post/73220</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 06 Sep 2023 10:04:21 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Wed, 06 Sep 2023 09:33:24 GMT]]></title><description><![CDATA[<p dir="auto">I see, that's a bummer, since the login route isn't configurable by either pgadmin or cloudron. Btw, I wouldn't mind the double login (I just don't want to expose a pgadmin instance publicly, even with auth).</p>
<p dir="auto">That being said, the reserved <code>/login</code> route may cause trouble down the road as it is a very common route. Maybe consider making it customisable or just change it to <code>/cloudron-login</code>?</p>
]]></description><link>https://forum.cloudron.io/post/73219</link><guid isPermaLink="true">https://forum.cloudron.io/post/73219</guid><dc:creator><![CDATA[cpa]]></dc:creator><pubDate>Wed, 06 Sep 2023 09:33:24 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Wed, 06 Sep 2023 08:15:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpa" aria-label="Profile: cpa">@<bdi>cpa</bdi></a> I looked into this now. I deployed based on instructions at  <a href="https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html</a> . As you said, without auth in the proxy, it works fine.</p>
<p dir="auto">For making it work with auth in the proxy, we need a way to disable auth in pgadmin. AFAICT, this is not possible. What happens is: cloudron proxy authenticates and forwards to pgadmin. But pgadmin redirects to <code>/login</code> since it needs authentication as well. The <code>/login</code> is a route reserved by the proxy (the proxy's own login page). So, the whole setup is untenable. Even if pgadmin used some other route, we will still have double login (once for cloudron and again for pgadmin).</p>
]]></description><link>https://forum.cloudron.io/post/73214</link><guid isPermaLink="true">https://forum.cloudron.io/post/73214</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 06 Sep 2023 08:15:08 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Tue, 05 Sep 2023 11:31:37 GMT]]></title><description><![CDATA[<p dir="auto">Without authentication, it does work as intended (I get the pgadmin login page and can log in).</p>
]]></description><link>https://forum.cloudron.io/post/73147</link><guid isPermaLink="true">https://forum.cloudron.io/post/73147</guid><dc:creator><![CDATA[cpa]]></dc:creator><pubDate>Tue, 05 Sep 2023 11:31:37 GMT</pubDate></item><item><title><![CDATA[Reply to Using app proxy with pgadmin on Mon, 04 Sep 2023 10:42:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cpa" aria-label="Profile: cpa">@<bdi>cpa</bdi></a> To simplify things, can you install the app proxy without authentication first. Does it work without auth ?</p>
]]></description><link>https://forum.cloudron.io/post/73063</link><guid isPermaLink="true">https://forum.cloudron.io/post/73063</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 04 Sep 2023 10:42:41 GMT</pubDate></item></channel></rss>