<?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[Piwigo vs. OAuth Login]]></title><description><![CDATA[<p dir="auto">Hi there!<br />
I'm trying to install piwigo on my cloudron so people can use their accounts to u/l images. There are currently several plugins for piwigo, but none seem to do the trick out of the box.</p>
<ol>
<li>
<p dir="auto">Ldap Plugin (<a href="http://piwigo.org/ext/extension_view.php?eid=650" target="_blank" rel="noopener noreferrer nofollow ugc">http://piwigo.org/ext/extension_view.php?eid=650</a><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=11345d81604" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title="):" alt="😞" /> Doesn't seem to work properly, maybe someone has an idea? Github issue with error-animation is here <a href="https://github.com/VSLCatena/ldap_login/issues/5" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/VSLCatena/ldap_login/issues/5</a></p>
</li>
<li>
<p dir="auto">OAuth Plugin (<a href="http://piwigo.org/ext/extension_view.php?eid=684" target="_blank" rel="noopener noreferrer nofollow ugc">http://piwigo.org/ext/extension_view.php?eid=684</a><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=11345d81604" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title="):" alt="😞" /> Only uses built in providers (facebook, google, instagram, linkedin, tumblr, twitter, windows live, vkontakte, yahoo, 500px, openid, flickr, steam and wordpress), so it would be required to copy one of those providers and populate it with cloudrons data. Which would be the closest one to the cloudron API?<br />
However, there is a 3y old forked version of that plugin (<a href="https://github.com/AchilleAsh/Piwigo-oAuth-Custom-Client" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/AchilleAsh/Piwigo-oAuth-Custom-Client</a>) which uses a different/custom provider, but after adjusting the urls to the cloudrons, this is giving me an error after callback aswell.</p>
</li>
</ol>
<p dir="auto">Any pointers on how to approach this?</p>
<p dir="auto">Best regards,<br />
Matthias</p>
]]></description><link>https://forum.cloudron.io/topic/1301/piwigo-vs-oauth-login</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 20:28:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/1301.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Apr 2018 11:57:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Wed, 23 May 2018 13:39:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alexy" aria-label="Profile: alexy">@<bdi>alexy</bdi></a> here it goes:</p>
<ul>
<li>
<p dir="auto">install an empty lamp app</p>
</li>
<li>
<p dir="auto">install piwigo (download from <a href="http://piwigo.org/download/dlcounter.php?code=latest" target="_blank" rel="noopener noreferrer nofollow ugc">http://piwigo.org/download/dlcounter.php?code=latest</a>)</p>
</li>
<li>
<p dir="auto">following this tutorial <a href="http://www.jouvinio.net/wiki/index.php/LDAP_Plugin_Piwigo" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.jouvinio.net/wiki/index.php/LDAP_Plugin_Piwigo</a> and put <a href="https://github.com/kvakanet/ldap_login/archive/config2base.zip" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/kvakanet/ldap_login/archive/config2base.zip</a> as ldap_login in your plugins directory and activate it in the backend</p>
</li>
<li>
<p dir="auto">add the following info in the "Ldap Login" settings:</p>
<p dir="auto">LDAP server host: 172.18.0.1<br />
LDAP port: 3002<br />
BASE DN of LDAP server: ou=users,dc=cloudron<br />
Users Branch: ou=users<br />
LDAP attributes: ou=users,dc=cloudron<br />
Attribute corresponding to the user name: username<br />
Groups Branch: ou=groups,dc=cloudron<br />
Attributes corresponding to the group name: cn<br />
Admins group: users (not working)</p>
<p dir="auto">In the "New users when LDAP auth is successful" tab check<br />
</p><div class="plugin-markdown"><input type="checkbox" checked="true" /> Should new Piwigo users be created when users authenticate succesfully via LDAP?</div><p></p>
</li>
</ul>
<p dir="auto">Automatic group settings don't work, maybe that's my fault, this means after a user is successfully logged in, you have to manually change his/her group to whichever you want. There's also the mentioning of an OpenLDAP bug on the page, but that's where my french stopped working and I didn't use that code.</p>
<p dir="auto">Let me know how it goes.</p>
]]></description><link>https://forum.cloudron.io/post/1635</link><guid isPermaLink="true">https://forum.cloudron.io/post/1635</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Wed, 23 May 2018 13:39:57 GMT</pubDate></item><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Mon, 21 May 2018 23:56:45 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> Well, if you could write up a small tutorial - that would be great!</p>
]]></description><link>https://forum.cloudron.io/post/1628</link><guid isPermaLink="true">https://forum.cloudron.io/post/1628</guid><dc:creator><![CDATA[alexy]]></dc:creator><pubDate>Mon, 21 May 2018 23:56:45 GMT</pubDate></item><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Mon, 21 May 2018 14:44:20 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/alexy" aria-label="Profile: alexy">@<bdi>alexy</bdi></a>,<br />
yes I got it working, even with LDAP (although the automatic group settings doesn't work as intended). I don't have a way to automatically install it, that's why it's not released yet. I'm happy to push a small tutorial for the lamp app and include all the required files if you want.<br />
Best regards</p>
]]></description><link>https://forum.cloudron.io/post/1627</link><guid isPermaLink="true">https://forum.cloudron.io/post/1627</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 21 May 2018 14:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Mon, 21 May 2018 05:38:55 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'd love to hear more about your adventures with Piwigo. I'd love to have it be a part of Cloudron. Have you had success running it (apart from LDAP) on your instance? I've played around with a local docker install but it wasn't stable at all for me.</p>
]]></description><link>https://forum.cloudron.io/post/1625</link><guid isPermaLink="true">https://forum.cloudron.io/post/1625</guid><dc:creator><![CDATA[alexy]]></dc:creator><pubDate>Mon, 21 May 2018 05:38:55 GMT</pubDate></item><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Wed, 25 Apr 2018 12:26:38 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a><br />
thanks for getting back to me, changing that didn't do anything as far as I can see. The log files aren't exactly informative. All it says is<br />
[function]&gt; ldap_search_dn(matthias)<br />
[ldap_search_dn]&gt; Connecting to server<br />
[ldap_search_dn]&gt; Cannot connect to server!</p>
<p dir="auto">I'll wait for a bit, apparently someone else is also having problems with that version aswell, maybe that's related (<a href="https://github.com/VSLCatena/ldap_login/issues/1" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/VSLCatena/ldap_login/issues/1</a>)</p>
<p dir="auto">Best regards,<br />
Matthias</p>
]]></description><link>https://forum.cloudron.io/post/1465</link><guid isPermaLink="true">https://forum.cloudron.io/post/1465</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Wed, 25 Apr 2018 12:26:38 GMT</pubDate></item><item><title><![CDATA[Reply to Piwigo vs. OAuth Login on Thu, 19 Apr 2018 06:30:16 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> The LDAP looks promising!</p>
<p dir="auto">The error comes from <a href="https://github.com/VSLCatena/ldap_login/blob/master/admin/configuration.php#L55" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/VSLCatena/ldap_login/blob/master/admin/configuration.php#L55</a>. I think that means that <code>ldap_search_dn</code> failed in <a href="https://github.com/VSLCatena/ldap_login/blob/master/class.ldap.php#L168" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/VSLCatena/ldap_login/blob/master/class.ldap.php#L168</a>.</p>
<p dir="auto">I think the issue is that it harcodes objectClass=person in <a href="https://github.com/VSLCatena/ldap_login/blob/master/class.ldap.php#L170" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/VSLCatena/ldap_login/blob/master/class.ldap.php#L170</a> . Can you patch the line to say objectcategory=person and see if it works? Otherwise that log file in /var/log might be good to see.</p>
]]></description><link>https://forum.cloudron.io/post/1420</link><guid isPermaLink="true">https://forum.cloudron.io/post/1420</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 19 Apr 2018 06:30:16 GMT</pubDate></item></channel></rss>