[keycloak-user] Default Redirect URL is not working

Chen Keong Yap chenkeong.yap at izeno.com
Wed Apr 1 06:26:02 EDT 2015


Hi,

I've configured Default Redirect URL=http://localhost:8080/employee/test.jsp
in keycloak (1.1.0 beta2) admin console. When i access ServiceURL, the
request is redirected to keycloak
login page. After authentication is successful then keycloak redirected to
ServiceURL instead of Default Redirect URL. Can someone please advise?

Picketlink.xml :

<PicketLink xmlns="urn:picketlink:identity-federation:config:2.1">
<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:2.1"
ServerEnvironment="tomcat" BindingType="REDIRECT" RelayState="someURL">
<IdentityURL>${idp.url::
https://localhost:8443/auth/realms/saml-demo-1/protocol/saml}</IdentityURL>
<ServiceURL>${EMPLOYEE.url::http://localhost:8080/employee/}
</ServiceURL>
</PicketLinkSP>
<Handlers xmlns="urn:picketlink:identity-federation:handler:config:2.1">
<Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler"
/>
<Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler">
</Handler>
<Handler
class="org.picketlink.identity.federation.web.handlers.saml2.RolesGenerationHandler"
/>
</Handlers>
</PicketLink>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150401/e74dcc1c/attachment.html 


More information about the keycloak-user mailing list