<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Identity providers on pam-keycloak-oidc</title><link>https://zhaow-de.github.io/pam-keycloak-oidc/servers/</link><description>Recent content in Identity providers on pam-keycloak-oidc</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://zhaow-de.github.io/pam-keycloak-oidc/servers/index.xml" rel="self" type="application/rss+xml"/><item><title/><link>https://zhaow-de.github.io/pam-keycloak-oidc/servers/keyclock-12.x/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://zhaow-de.github.io/pam-keycloak-oidc/servers/keyclock-12.x/</guid><description>&lt;h1 id="keycloak-12x"&gt;Keycloak 12.x&lt;a class="anchor" href="#keycloak-12x"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create a new Role at Keycloak, e.g. &lt;code&gt;demo-pam-authentication&lt;/code&gt;. (Assuming the server is at
&lt;code&gt;https://keycloak.example.com&lt;/code&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new Client Scope, e.g. &lt;code&gt;pam_roles&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Protocol: &lt;code&gt;openid-connect&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Display On Consent Screen: &lt;code&gt;OFF&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Include in Token Scope: &lt;code&gt;ON&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mapper:
&lt;ul&gt;
&lt;li&gt;Name: e.g. &lt;code&gt;pam roles&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mapper Type: &lt;code&gt;User Realm Role&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Multivalued: &lt;code&gt;ON&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Token Claim Name: &lt;code&gt;pam_roles&lt;/code&gt; (the name of the Client Scope)&lt;/li&gt;
&lt;li&gt;Claim JSON Type: &lt;code&gt;String&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add to ID token: &lt;code&gt;OFF&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add to access token: &lt;code&gt;ON&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add to userinfo: &lt;code&gt;OFF&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Scope:
&lt;ul&gt;
&lt;li&gt;Effective Roles: &lt;code&gt;demo-pam-authentication&lt;/code&gt; (the name of the Role)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new Keycloak Client:&lt;/p&gt;</description></item></channel></rss>