[keycloak-user] register new user; redirect to specific client url

John Norris johnnorris-10 at outlook.com
Wed Sep 25 11:57:22 EDT 2019


Hi Marek,
am I asking for something unusual here?
It seems that if Keycloak is going to give "register new user" functionality then there should be an easy straightforward way for the application of knowing that is what has happened and taking any necessary action.
My application is built on Spring Boot 2. You mentioned previously about java filters. Looking at https://www.keycloak.org/docs/latest/securing_apps/index.html#_servlet_filter_adapter, and that has a code example of


    <filter-mapping>
        <filter-name>Keycloak Filter</filter-name>
        <url-pattern>/keycloak/*</url-pattern>
        <url-pattern>/protected/*</url-pattern>
    </filter-mapping>

Spring Boot 2 has a Keycloak adapter so would adding a @GetMapping("/keycloak/**") mean that keycloak would return from registration to here? This is where an extra field for user registration would be useful to have a url it could return to.

Regards,
John



More information about the keycloak-user mailing list