Hi Alex, please take a look a the examples here[1].
[1] -
https://github.com/redhat-developer/redhat-sso-quickstarts
On 2016-07-26, Alex Fernandes wrote:
Hi,
Im green to KeyCloak; Wanted to thank the community for it, so far looking
great.
I have an issue where I want to redirect the user the loginpage on the
KeyCloak server programmatically in Java;
the UseCase is:
We have a page that is partially visible and partiallly not (when not
logged in), so I can't protect it with url pattern;
We have a login button on that page that when the user is not logged and
pressed the button, we want to redirect to the loginpage (on keycloak) and
back to the page again.
I'm using the KeyCloak adapter core (running on tomcat8)
[image: Inline afbeelding 2]
I coppied this code from the: KeycloakOIDCFilter (
https://github.com/keycloak/keycloak/blob/master/adapters/oidc/servlet-fi...
)
it does show a 302 in the logs but the page doesn't redirect;
Anyone has a clue about how to go about this?
Much Appreciated,
Cheers!
Alex
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
abstractj
PGP: 0x84DC9914