<?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[Is there a way to make LDAP mandatory on the Cloudron App Store?]]></title><description><![CDATA[<p dir="auto">You see, I finally finished both the front (login) and back end (Change  Connected Server) of my VPN Client. Turns out, baking in LDAP login support wasn't just easier than building my own. It was necessary. Because the container has to do a soft-restart to switch VPN connections, it takes no more than a few seconds. <strong>But</strong> it needs a real access token. I get that via the LDAP integration (using <code>/api/v1/login</code> with the already <code>POST</code>ed data to grab one). So, in my VPN Client's case it's a requirement to get the access token for the app to even function. So, is there a way to require it on your store?</p>
<p dir="auto">Ignore the rant:<br />
<s>And those tokens last a year; should they last a year? Not that a year's a bad amount of time, but I imagine there are use cases that don't need one lasting so long (for my use case it's perfect tho).</s></p>
<p dir="auto"><s>By the way, do these special type of api tokens (collected from the <code>/api/v1/login</code> endpoint ever get revoked <em>before</em> their year expiration date? Since these are "logged in" tokens? Do they not work when the user is logged out - or do they act just like regular tokens for my purposes? I am just wondering about how a Cloudron admin revokes them since that would affect my app?</s></p>
<p dir="auto"><s>Edit: Nevermind, I just found in my profile that I have 19 login tokens I can choose to revoke all at once. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=d69db52af35" class="not-responsive emoji emoji-android emoji--joy" style="height:23px;width:auto;vertical-align:middle" title="😂" alt="😂" /> So I understand the login tokens now, that works for me. I would just need to test if a token is revoked on attempted soft-restart and have the user forcefully logged out to log back in if so.</s></p>
]]></description><link>https://forum.cloudron.io/topic/3455/is-there-a-way-to-make-ldap-mandatory-on-the-cloudron-app-store</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 04:07:03 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3455.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2020 19:40:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a way to make LDAP mandatory on the Cloudron App Store? on Mon, 19 Oct 2020 15:34:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> said in <a href="/post/16303">Is there a way to make LDAP mandatory on the Cloudron App Store?</a>:</p>
<blockquote>
<p dir="auto">@Lonk I'm not sure I understand the question.</p>
<p dir="auto">As long as your app has the LDAP addon, you're good. You just have to not include the optionalSSO entry in manifest <a href="https://docs.cloudron.io/custom-apps/manifest/#optionalsso" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/custom-apps/manifest/#optionalsso</a></p>
</blockquote>
<p dir="auto">You answered correctly! Thanks.</p>
]]></description><link>https://forum.cloudron.io/post/16332</link><guid isPermaLink="true">https://forum.cloudron.io/post/16332</guid><dc:creator><![CDATA[Lonkle]]></dc:creator><pubDate>Mon, 19 Oct 2020 15:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to make LDAP mandatory on the Cloudron App Store? on Mon, 19 Oct 2020 15:31:59 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> said in <a href="/post/16306">Is there a way to make LDAP mandatory on the Cloudron App Store?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> pointed to the correct option and is spot on. So just use ldap addon and <strong>not</strong> set <code>optionalSso</code> in the manifest.</p>
</blockquote>
<p dir="auto">So that will force LDAP; perfect! I was hoping there was already a way to make it mandatory, and the best part is, it already is since I didn't even know about the <code>optionalSso</code> variable.</p>
<p dir="auto">Thanks guys!</p>
]]></description><link>https://forum.cloudron.io/post/16330</link><guid isPermaLink="true">https://forum.cloudron.io/post/16330</guid><dc:creator><![CDATA[Lonkle]]></dc:creator><pubDate>Mon, 19 Oct 2020 15:31:59 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to make LDAP mandatory on the Cloudron App Store? on Mon, 19 Oct 2020 08:55:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> pointed to the correct option and is spot on. So just use ldap addon and <strong>not</strong> set <code>optionalSso</code> in the manifest.</p>
]]></description><link>https://forum.cloudron.io/post/16306</link><guid isPermaLink="true">https://forum.cloudron.io/post/16306</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 19 Oct 2020 08:55:10 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a way to make LDAP mandatory on the Cloudron App Store? on Mon, 19 Oct 2020 08:00:40 GMT]]></title><description><![CDATA[<p dir="auto">@Lonk I'm not sure I understand the question.</p>
<p dir="auto">As long as your app has the LDAP addon, you're good. You just have to not include the optionalSSO entry in manifest <a href="https://docs.cloudron.io/custom-apps/manifest/#optionalsso" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/custom-apps/manifest/#optionalsso</a></p>
]]></description><link>https://forum.cloudron.io/post/16303</link><guid isPermaLink="true">https://forum.cloudron.io/post/16303</guid><dc:creator><![CDATA[mehdi]]></dc:creator><pubDate>Mon, 19 Oct 2020 08:00:40 GMT</pubDate></item></channel></rss>