[Apiman-user] external Keycloak server

Marc Savy marc.savy at redhat.com
Wed Jan 27 11:49:55 EST 2016


Hi Enrico,

We haven't tested with Keycloak 1.8, as this is only a candidate release
at the moment (CR == RC).

I can give it a try, though and will report back.

Regards,
Marc

On 27/01/2016 10:32, enrico wrote:
> Hi all and thanks for this awesome project,
>
> I'm trying to setup an Apiman instance pointing to external Keycloak
> server (and Elastic search, I don't know if it could be related)
> but I'm not able to log in.
>
> The Apiman version is 1.2.1.Final and Keycloak 1.8.0.CR3.
>
> In standalone-apiman.xml I have removed the lines:
>
> https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L31
>
> and
>
> https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L408-L410
>
> and set the auth server in
>
> https://github.com/apiman/apiman/blob/master/distro/wildfly9/src/main/resources/overlay/standalone/configuration/standalone-apiman.xml#L414
>
> The apiman-realm is taken from
> https://raw.githubusercontent.com/apiman/apiman/master/distro/data/src/main/resources/data/apiman-realm.json
>
> and I have substituted the "secret" fields with the values from
> standalone-apiman.xml.
>
> Relevant ERROR logs from Apiman
> org.keycloak.adapters.OAuthRequestAuthenticator are:
>
> failed to turn code into token
> status from server: 400
> {"error_description":"Client secret not provided in
> request","error":"unauthorized_client"}
>
> Any hint?
>
> Cheers, Enrico
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/apiman-user
>



More information about the Apiman-user mailing list