<?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[Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain]]></title><description><![CDATA[<p dir="auto"><a href="http://zoom.example.org" target="_blank" rel="noopener noreferrer nofollow ugc">zoom.example.org</a> is the app location<br />
<a href="http://teams.example.org" target="_blank" rel="noopener noreferrer nofollow ugc">teams.example.org</a> is the alias location</p>
<p dir="auto">Joining rooms is possible at both locations.<br />
Loggin via oidc, which is the default call to action if you open the url, only works at the app location. This error is triggered at the alias location:</p>
<pre><code>BadRequestError: state mismatch, expected eyJyZXR1cm5UbyI6Ii9wcm9maWxlIn0, got: eyJyZXR1cm5UbyI6Ii8ifQ
    at ResponseContext.callback (/app/code/node_modules/express-openid-connect/lib/context.js:366:15)
</code></pre>
<p dir="auto">The oidc flow redirects from teams to zoom.</p>
]]></description><link>https://forum.cloudron.io/topic/13203/bug-mirotalk-sfu-oidc-alias-domain</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 13:41:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13203.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jan 2025 14:08:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Thu, 06 Feb 2025 07:32:05 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/101079">Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain</a>:</p>
<blockquote>
<p dir="auto">this is great! I've tested it and it required to trust the proxy</p>
</blockquote>
<p dir="auto"><strong>Merged</strong>, thank you so much!</p>
]]></description><link>https://forum.cloudron.io/post/101249</link><guid isPermaLink="true">https://forum.cloudron.io/post/101249</guid><dc:creator><![CDATA[MiroTalk]]></dc:creator><pubDate>Thu, 06 Feb 2025 07:32:05 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Sun, 02 Feb 2025 08:05:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-category plugin-mentions-a" href="/category/183/mirotalk" aria-label="Profile: mirotalk-57bab571">@<bdi>mirotalk-57bab571</bdi></a> this is great! I've tested it and it required to trust the proxy. The pull request for the SFU flavor is <a href="https://github.com/miroslavpejic85/mirotalksfu/pull/191" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/miroslavpejic85/mirotalksfu/pull/191</a></p>
]]></description><link>https://forum.cloudron.io/post/101079</link><guid isPermaLink="true">https://forum.cloudron.io/post/101079</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 02 Feb 2025 08:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Fri, 31 Jan 2025 23:40:19 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> <strong>Done</strong>: Enabled OIDC support for alias domains with dynamic baseURL in both <strong>MiroTalk P2P v1.4.75</strong> and <strong>MiroTalk SFU v1.7.22</strong>.</p>
]]></description><link>https://forum.cloudron.io/post/101033</link><guid isPermaLink="true">https://forum.cloudron.io/post/101033</guid><dc:creator><![CDATA[MiroTalk]]></dc:creator><pubDate>Fri, 31 Jan 2025 23:40:19 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Fri, 31 Jan 2025 22:59:06 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> correct me if i understand well?</p>
<p dir="auto">In the next release, I will integrate OpenID Connect (OIDC) <code>dynamically</code>. This will allow the authentication flow to work seamlessly with multiple alias domains. The <code>baseURL</code> will be set dynamically based on the incoming request's host, ensuring that the app supports various domains and subdomains.</p>
<p dir="auto">To ensure proper functionality, It's needed to update the OIDC provider’s callback URL settings to include all valid URLs, including aliases. This way, no matter which domain the user accesses, the OIDC authentication flow will work without issues.</p>
<h3>Steps to Update Callback URLs:</h3>
<ol>
<li><strong>Go to your OIDC provider's dashboard</strong> (e.g., Auth0).</li>
<li><strong>Navigate to</strong> <code>Applications</code> &gt; <code>Your Application</code>.</li>
<li>Under <strong>Settings</strong>, locate <strong>Allowed Callback URLs</strong>.</li>
<li><strong>Add all valid callback URLs</strong>, for example:<pre><code>http://app.example.com/auth/callback,
http://alias1.example.com/auth/callback,
http://localhost:3010/auth/callback
</code></pre>
</li>
<li>If your aliases follow a consistent pattern, consider using wildcards like <code>http://*.example.com/auth/callback</code> to simplify the process.</li>
</ol>
<p dir="auto">By following these steps, we'll ensure that the authentication flow works smoothly across multiple domains and aliases.</p>
]]></description><link>https://forum.cloudron.io/post/101032</link><guid isPermaLink="true">https://forum.cloudron.io/post/101032</guid><dc:creator><![CDATA[MiroTalk]]></dc:creator><pubDate>Fri, 31 Jan 2025 22:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Fri, 31 Jan 2025 10:39:24 GMT]]></title><description><![CDATA[<p dir="auto">Currently as far as I can see in the mirotalk SFU code, the callback URL for oidc is not switched based on the incoming requests host name.</p>
<p dir="auto">Maybe <a class="plugin-mentions-category plugin-mentions-a" href="/category/183/mirotalk" aria-label="Profile: mirotalk-57bab571">@<bdi>mirotalk-57bab571</bdi></a> can share some insights if this would be possible to fix upstream. Otherwise we have to disable alias domain support within the Cloudron package to not confuse users.</p>
]]></description><link>https://forum.cloudron.io/post/100998</link><guid isPermaLink="true">https://forum.cloudron.io/post/100998</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 31 Jan 2025 10:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Wed, 29 Jan 2025 15:19:07 GMT]]></title><description><![CDATA[<p dir="auto">Don't mind me, p2p has no oidc to start with... Looks like an oversight in the package</p>
]]></description><link>https://forum.cloudron.io/post/100873</link><guid isPermaLink="true">https://forum.cloudron.io/post/100873</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 29 Jan 2025 15:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: MiroTalk SFU &amp; OIDC &amp; Alias Domain on Wed, 29 Jan 2025 15:14:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> is this the sfu or p2p or both?</p>
]]></description><link>https://forum.cloudron.io/post/100871</link><guid isPermaLink="true">https://forum.cloudron.io/post/100871</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 29 Jan 2025 15:14:39 GMT</pubDate></item></channel></rss>