1
0
Bifurcation 0
miroir de https://github.com/PAPAMICA/Wiki-Tech.io.git synchronisé 2024-11-16 22:40:59 +01:00
Wiki-Tech.io/SelfHosted/Keycloak.html

28 lignes
1,3 Kio
HTML

<!--
title: Keycloak
description: Centralisation de l’authentification
published: true
date: 2021-05-30T17:27:30.014Z
tags:
editor: ckeditor
dateCreated: 2021-05-24T10:34:51.230Z
-->
<h1>Présentation</h1>
<h1>Installation</h1>
<h1>Configuration</h1>
<h2>Portainer</h2>
<figure class="image image_resized" style="width:95.33%;"><img src="https://wiki-tech.io/image_2021-05-03_212514.png"></figure>
<h2>Grafana</h2>
<pre><code class="language-plaintext"> - GF_AUTH_GENERIC_OAUTH_ENABLED=true
- GF_AUTH_GENERIC_OAUTH_SCOPES=email
- GF_AUTH_GENERIC_OAUTH_NAME=&lt;NAME&gt;
- GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
- GF_AUTH_GENERIC_OAUTH_CLIENT_ID=grafana
- GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=&lt;CLIENT_SECRET&gt;
- GF_AUTH_GENERIC_OAUTH_AUTH_URL=https://&lt;URL&gt;/auth/realms/&lt;REALMS&gt;/protocol/openid-connect/auth
- GF_AUTH_GENERIC_OAUTH_TOKEN_URL=https://&lt;URL&gt;/auth/realms/&lt;REALMS&gt;/protocol/openid-connect/token
- GF_AUTH_GENERIC_OAUTH_API_URL=https://&lt;URL&gt;/auth/realms/&lt;REALMS&gt;/protocol/openid-connect/userinfo
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') &amp;&amp; 'Admin' || contains(roles[*], 'editor') &amp;&amp; 'Editor' || 'Viewer'</code></pre>
<h2>WikiJS</h2>
<p>&nbsp;</p>