<div dir="ltr"><div>Hi all and thanks for this awesome project,<br><br>I&#39;m trying to setup an Apiman instance pointing to external Keycloak server (and Elastic search, I don&#39;t know if it could be related)<br>but I&#39;m not able to log in.<br><br>The Apiman version is 1.2.1.Final and Keycloak 1.8.0.CR3.<br><br>In standalone-apiman.xml I have removed the lines:<br><br><a href="https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L31">https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L31</a><br><br>and<br><br><a href="https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L408-L410">https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L408-L410</a><br><br>and set the auth server in<br><br><a href="https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L414">https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L414</a><br><br>The apiman-realm is taken from <a href="https://raw.githubusercontent.com/apiman/apiman/master/distro/data/src/main/resources/data/apiman-realm.json">https://raw.githubusercontent.com/apiman/apiman/master/distro/data/src/main/resources/data/apiman-realm.json</a><br><br>and I have substituted the &quot;secret&quot; fields with the values from standalone-apiman.xml.<br><br>Relevant ERROR logs from Apiman org.keycloak.adapters.OAuthRequestAuthenticator are:<br><br>failed to turn code into token<br>status from server: 400<br>{&quot;error_description&quot;:&quot;Client secret not provided in request&quot;,&quot;error&quot;:&quot;unauthorized_client&quot;}<br><br>Any hint?<br><br></div>Cheers, Enrico<br></div>