[keycloak-user] Issue with login-config KEYCLOAK

Bill Burke bburke at redhat.com
Thu Aug 14 11:01:25 EDT 2014


My favorite bugs!!!

On 8/13/2014 10:14 PM, Graeme Collis wrote:
> Fixed. I modified the wrong file. I changed standalone.xml instead of
> for my environment I need to change standalone-full.xml.
>
> User error!
>
> Thanks, Graeme
>
> *From:*keycloak-user-bounces at lists.jboss.org
> [mailto:keycloak-user-bounces at lists.jboss.org] *On Behalf Of *Graeme Collis
> *Sent:* Thursday, 14 August 2014 10:09 AM
> *To:* 'keycloak-user at lists.jboss.org'
> *Subject:* [keycloak-user] Issue with login-config KEYCLOAK
>
> I have the Keycloak auth war successfully running and have been able to
> create Realms, Users, Apps.
>
> I now want to redirect the login from webapp to Keycloak.
>
> I have followed the  instructions to add the JBoss Adapter here:-
>
> http://docs.jboss.org/keycloak/docs/1.0-beta-4/userguide/html/ch07.html#d4e547
>
> I am using JBoss EAP 6.1
>
> I added the modules by unzipping the adapters into ${JBOSS_HOME}/modules
>
> I have updated the standalone.xml files to add the extension
>
> <extension module="org.keycloak.keycloak-as7-subsystem"/>
>
> I have added the subsystem
>
> <subsystem xmlns="urn:jboss:domain:keycloak:1.0"/>
>
> I have added the security domain
>
>                  <security-domain name="keycloak">
>
>                    <authentication>
>
>                      <login-module
> code="org.keycloak.adapters.jboss.KeycloakLoginModule" flag="required"/>
>
>                    </authentication>
>
>                  </security-domain>
>
> Yet my webapp won’t deploy as it cannot find KEYCLOAK.
>
> JBWEB001034: Cannot configure an authenticator for method KEYCLOAK
>
> <login-config>
>
> <auth-method>KEYCLOAK</auth-method>
>
> <realm-name>_demo_</realm-name>
>
> </login-config>
>
> I have also used Keycloak to create the keycloak.json and put it in my
> WEB-INF folder.
>
> Any ideas on the steps I may have missed.
>
> Thanks,
>
> **
>
> *Graeme*
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list