This commit is contained in:
reivilibre 2022-03-25 12:40:46 +00:00
parent 3bc2fd2f45
commit 08e6e6be61
4 changed files with 6 additions and 4 deletions

View file

@ -388,6 +388,7 @@ to install Dex.</p>
<li>Create an application for synapse in Authentik and link it to the provider.</li> <li>Create an application for synapse in Authentik and link it to the provider.</li>
<li>Note the slug of your application, Client ID and Client Secret.</li> <li>Note the slug of your application, Client ID and Client Secret.</li>
</ol> </ol>
<p>Note: RSA keys must be used for signing for Authentik, ECC keys do not work.</p>
<p>Synapse config:</p> <p>Synapse config:</p>
<pre><code class="language-yaml">oidc_providers: <pre><code class="language-yaml">oidc_providers:
- idp_id: authentik - idp_id: authentik
@ -402,7 +403,7 @@ to install Dex.</p>
- &quot;email&quot; - &quot;email&quot;
user_mapping_provider: user_mapping_provider:
config: config:
localpart_template: &quot;{{ user.preferred_username }}}&quot; localpart_template: &quot;{{ user.preferred_username }}&quot;
display_name_template: &quot;{{ user.preferred_username|capitalize }}&quot; # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize. display_name_template: &quot;{{ user.preferred_username|capitalize }}&quot; # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize.
</code></pre> </code></pre>
<h3 id="lemonldap"><a class="header" href="#lemonldap">LemonLDAP</a></h3> <h3 id="lemonldap"><a class="header" href="#lemonldap">LemonLDAP</a></h3>

View file

@ -6467,6 +6467,7 @@ to install Dex.</p>
<li>Create an application for synapse in Authentik and link it to the provider.</li> <li>Create an application for synapse in Authentik and link it to the provider.</li>
<li>Note the slug of your application, Client ID and Client Secret.</li> <li>Note the slug of your application, Client ID and Client Secret.</li>
</ol> </ol>
<p>Note: RSA keys must be used for signing for Authentik, ECC keys do not work.</p>
<p>Synapse config:</p> <p>Synapse config:</p>
<pre><code class="language-yaml">oidc_providers: <pre><code class="language-yaml">oidc_providers:
- idp_id: authentik - idp_id: authentik
@ -6481,7 +6482,7 @@ to install Dex.</p>
- &quot;email&quot; - &quot;email&quot;
user_mapping_provider: user_mapping_provider:
config: config:
localpart_template: &quot;{{ user.preferred_username }}}&quot; localpart_template: &quot;{{ user.preferred_username }}&quot;
display_name_template: &quot;{{ user.preferred_username|capitalize }}&quot; # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize. display_name_template: &quot;{{ user.preferred_username|capitalize }}&quot; # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize.
</code></pre> </code></pre>
<h3 id="lemonldap"><a class="header" href="#lemonldap">LemonLDAP</a></h3> <h3 id="lemonldap"><a class="header" href="#lemonldap">LemonLDAP</a></h3>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long