[keycloak-user] Help troubleshooting config

Thomas LaPorte Thomas.LaPorte at dreamworks.com
Tue Mar 31 17:30:06 EDT 2015


Apologies for cutting off by hitting send prematurely.



On Tue, Mar 31, 2015 at 2:26 PM, Thomas LaPorte <
Thomas.LaPorte at dreamworks.com> wrote:

> Greetings. I'm a first-time user of Keycloak, trying to set up a simple
> demonstration after the examples, however, I'm having 0% success in getting
> my configuration correct enough such that my web resource is protected.
>
> I have reduced my setup all the way down to a basic "HelloWorld.jsp" in a
> WAR file that is deployed into the standalone Wildfly server that is also
> hosting the Keycloak server.
>
> I am convinced that it is a configuration step being missed somewhere, as
> I can always access my URL without intervention from the Keycloak server.
>
> My WAR file consists of the following:
>
>      0 Tue Mar 31 14:20:20 PDT 2015 META-INF/
>     68 Tue Mar 31 14:20:20 PDT 2015 META-INF/MANIFEST.MF
>      0 Tue Mar 31 14:08:34 PDT 2015 WEB-INF/
>   1584 Tue Mar 31 09:47:52 PDT 2015 WEB-INF/web.xml
>    491 Tue Mar 31 14:08:34 PDT 2015 WEB-INF/keycloak.json
>    308 Tue Mar 31 14:20:18 PDT 2015 index.jsp
>

I have added my application to the demo realm by copying the
customer-portal application stanza, and replacing the "customer-portal"
with my app name:

        {
            "name": "goalkeepers",
            "enabled": true,
            "adminUrl": "/goalkeepers",
            "baseUrl": "/goalkeepers",
            "redirectUris": [
                "/goalkeepers/*"
            ],
            "secret": "password"
        }

At this stage I am just looking for suggestions on how best to troubleshoot
my configuration? What logging properties can I set to enable more
debugging? Or where else can I look for some clues as to the errors in my
configuration?

I fear I am missing something extremely fundamental, but I can't for the
life of me see what it is.

- Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150331/e889a54a/attachment-0001.html 


More information about the keycloak-user mailing list