<div dir="ltr">Thanks to a list member for some debug setup help, I&#39;m getting much more information.<div><br></div><div>Now I can see (and confirm my suspicion), that something is not right and my resource is unprotected.</div><div><br></div><div>For the example customer-portal app, I see that after the &quot;callback-uri: ...&quot; message, I get a &quot;Sending redirect to login page:...&quot; message.</div><div><br></div><div>For my app, it goes directly to &quot;AuthenticatedActionsValve.invoke&quot;</div><div><br></div><div>-- Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 2:49 PM, Guy Davis <span dir="ltr">&lt;<a href="mailto:guydavis.ca@gmail.com" target="_blank">guydavis.ca@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Thomas,<div><br></div><div>To dial up logging, try adding this to your standalone.xml file in the logging subsystem and re-starting your Wildfly instance:<div><br></div><div><div>            &lt;logger category=&quot;org.keycloak&quot;&gt;</div><div>                &lt;level name=&quot;DEBUG&quot;/&gt;</div><div>            &lt;/logger&gt;</div><div><br></div></div><div>Then, be sure you have the right configuration in your web.xml of your test WAR file.  See the <a href="http://docs.jboss.org/keycloak/docs/1.1.0.Final/userguide/html_single/#d4e786" target="_blank">docs here</a> for details.</div></div><div><br></div><div>Hope this helps,<br>Guy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 31, 2015 at 3:30 PM, Thomas LaPorte <span dir="ltr">&lt;<a href="mailto:Thomas.LaPorte@dreamworks.com" target="_blank">Thomas.LaPorte@dreamworks.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Apologies for cutting off by hitting send prematurely.<div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Mar 31, 2015 at 2:26 PM, Thomas LaPorte <span dir="ltr">&lt;<a href="mailto:Thomas.LaPorte@dreamworks.com" target="_blank">Thomas.LaPorte@dreamworks.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Greetings. I&#39;m a first-time user of Keycloak, trying to set up a simple demonstration after the examples, however, I&#39;m having 0% success in getting my configuration correct enough such that my web resource is protected.<div><br></div><div>I have reduced my setup all the way down to a basic &quot;HelloWorld.jsp&quot; in a WAR file that is deployed into the standalone Wildfly server that is also hosting the Keycloak server.</div><div><br></div><div>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.</div><div><br></div><div>My WAR file consists of the following:</div><div><br></div><div><div><font face="monospace, monospace">     0 Tue Mar 31 14:20:20 PDT 2015 META-INF/</font></div><div><font face="monospace, monospace">    68 Tue Mar 31 14:20:20 PDT 2015 META-INF/MANIFEST.MF</font></div><div><font face="monospace, monospace">     0 Tue Mar 31 14:08:34 PDT 2015 WEB-INF/</font></div><div><font face="monospace, monospace">  1584 Tue Mar 31 09:47:52 PDT 2015 WEB-INF/web.xml</font></div><div><font face="monospace, monospace">   491 Tue Mar 31 14:08:34 PDT 2015 WEB-INF/keycloak.json</font></div><div><font face="monospace, monospace">   308 Tue Mar 31 14:20:18 PDT 2015 index.jsp</font></div></div></div></blockquote><div><br></div></div></div><div>I have added my application to the demo realm by copying the customer-portal application stanza, and replacing the &quot;customer-portal&quot; with my app name:</div><div><br></div><div><font face="monospace, monospace">        {</font></div><div><font face="monospace, monospace">            &quot;name&quot;: &quot;goalkeepers&quot;,</font></div><div><font face="monospace, monospace">            &quot;enabled&quot;: true,</font></div><div><font face="monospace, monospace">            &quot;adminUrl&quot;: &quot;/goalkeepers&quot;,</font></div><div><font face="monospace, monospace">            &quot;baseUrl&quot;: &quot;/goalkeepers&quot;,</font></div><div><font face="monospace, monospace">            &quot;redirectUris&quot;: [</font></div><div><font face="monospace, monospace">                &quot;/goalkeepers/*&quot;</font></div><div><font face="monospace, monospace">            ],</font></div><div><font face="monospace, monospace">            &quot;secret&quot;: &quot;password&quot;</font></div><div><font face="monospace, monospace">        }</font></div><div>  </div></div>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?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I fear I am missing something extremely fundamental, but I can&#39;t for the life of me see what it is.</div><div class="gmail_extra"><br></div><div class="gmail_extra">- Tom</div></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>