pull/11367/head
clokep 2021-10-06 11:21:02 +00:00
parent e2340b9920
commit 90adb625c6
4 changed files with 12 additions and 14 deletions

View File

@ -183,10 +183,9 @@
</div> </div>
<h1 id="how-to-test-saml-as-a-developer-without-a-server"><a class="header" href="#how-to-test-saml-as-a-developer-without-a-server">How to test SAML as a developer without a server</a></h1> <h1 id="how-to-test-saml-as-a-developer-without-a-server"><a class="header" href="#how-to-test-saml-as-a-developer-without-a-server">How to test SAML as a developer without a server</a></h1>
<p>https://capriza.github.io/samling/samling.html (https://github.com/capriza/samling) is a great <p>https://fujifish.github.io/samling/samling.html (https://github.com/fujifish/samling) is a great resource for being able to tinker with the
resource for being able to tinker with the SAML options within Synapse without needing to SAML options within Synapse without needing to deploy and configure a complicated software stack.</p>
deploy and configure a complicated software stack.</p> <p>To make Synapse (and therefore Element) use it:</p>
<p>To make Synapse (and therefore Riot) use it:</p>
<ol> <ol>
<li>Use the samling.html URL above or deploy your own and visit the IdP Metadata tab.</li> <li>Use the samling.html URL above or deploy your own and visit the IdP Metadata tab.</li>
<li>Copy the XML to your clipboard.</li> <li>Copy the XML to your clipboard.</li>
@ -208,9 +207,9 @@ the XML from step 2 as the contents.</li>
the dependencies are installed and ready to go.</li> the dependencies are installed and ready to go.</li>
<li>Restart Synapse.</li> <li>Restart Synapse.</li>
</ol> </ol>
<p>Then in Riot:</p> <p>Then in Element:</p>
<ol> <ol>
<li>Visit the login page with a Riot pointing at your homeserver.</li> <li>Visit the login page and point Element towards your homeserver using the <code>public_baseurl</code> above.</li>
<li>Click the Single Sign-On button.</li> <li>Click the Single Sign-On button.</li>
<li>On the samling page, enter a Name Identifier and add a SAML Attribute for <code>uid=your_localpart</code>. <li>On the samling page, enter a Name Identifier and add a SAML Attribute for <code>uid=your_localpart</code>.
The response must also be signed.</li> The response must also be signed.</li>

View File

@ -12783,10 +12783,9 @@ code.</p>
rather than a developer who's intending to change to code, should instead be placed rather than a developer who's intending to change to code, should instead be placed
under the Usage section of the documentation.</p> under the Usage section of the documentation.</p>
<div id="chapter_begin" style="break-before: page; page-break-before: always;"></div><h1 id="how-to-test-saml-as-a-developer-without-a-server"><a class="header" href="#how-to-test-saml-as-a-developer-without-a-server">How to test SAML as a developer without a server</a></h1> <div id="chapter_begin" style="break-before: page; page-break-before: always;"></div><h1 id="how-to-test-saml-as-a-developer-without-a-server"><a class="header" href="#how-to-test-saml-as-a-developer-without-a-server">How to test SAML as a developer without a server</a></h1>
<p>https://capriza.github.io/samling/samling.html (https://github.com/capriza/samling) is a great <p>https://fujifish.github.io/samling/samling.html (https://github.com/fujifish/samling) is a great resource for being able to tinker with the
resource for being able to tinker with the SAML options within Synapse without needing to SAML options within Synapse without needing to deploy and configure a complicated software stack.</p>
deploy and configure a complicated software stack.</p> <p>To make Synapse (and therefore Element) use it:</p>
<p>To make Synapse (and therefore Riot) use it:</p>
<ol> <ol>
<li>Use the samling.html URL above or deploy your own and visit the IdP Metadata tab.</li> <li>Use the samling.html URL above or deploy your own and visit the IdP Metadata tab.</li>
<li>Copy the XML to your clipboard.</li> <li>Copy the XML to your clipboard.</li>
@ -12808,9 +12807,9 @@ the XML from step 2 as the contents.</li>
the dependencies are installed and ready to go.</li> the dependencies are installed and ready to go.</li>
<li>Restart Synapse.</li> <li>Restart Synapse.</li>
</ol> </ol>
<p>Then in Riot:</p> <p>Then in Element:</p>
<ol> <ol>
<li>Visit the login page with a Riot pointing at your homeserver.</li> <li>Visit the login page and point Element towards your homeserver using the <code>public_baseurl</code> above.</li>
<li>Click the Single Sign-On button.</li> <li>Click the Single Sign-On button.</li>
<li>On the samling page, enter a Name Identifier and add a SAML Attribute for <code>uid=your_localpart</code>. <li>On the samling page, enter a Name Identifier and add a SAML Attribute for <code>uid=your_localpart</code>.
The response must also be signed.</li> The response must also be signed.</li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long