Skip to content

Commit

Permalink
remove deprecated kcinit route
Browse files Browse the repository at this point in the history
has been dropped in Keycloak with version 16

see keycloak/keycloak#9106

Signed-off-by: Kai Helbig <[email protected]>
  • Loading branch information
ostrya committed Oct 22, 2024
1 parent e2720e1 commit 60b708a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.tngtech.keycloakmock.impl.UrlConfiguration;
import com.tngtech.keycloakmock.impl.handler.AuthenticationRoute;
import com.tngtech.keycloakmock.impl.handler.CommonHandler;
import com.tngtech.keycloakmock.impl.handler.DelegationRoute;
import com.tngtech.keycloakmock.impl.handler.FailureHandler;
import com.tngtech.keycloakmock.impl.handler.IFrameRoute;
import com.tngtech.keycloakmock.impl.handler.JwksRoute;
Expand Down Expand Up @@ -145,7 +144,6 @@ Router provideRouter(
@Nonnull @Named("cookie1") ResourceFileHandler thirdPartyCookies1Route,
@Nonnull @Named("cookie2") ResourceFileHandler thirdPartyCookies2Route,
@Nonnull LogoutRoute logoutRoute,
@Nonnull DelegationRoute delegationRoute,
@Nonnull OutOfBandLoginRoute outOfBandLoginRoute,
@Nonnull @Named("keycloakJs") ResourceFileHandler keycloakJsRoute) {
UrlConfiguration routing = defaultConfiguration.forRequestContext(null, ":realm");
Expand Down Expand Up @@ -179,7 +177,6 @@ Router provideRouter(
.method(HttpMethod.GET)
.method(HttpMethod.POST)
.handler(logoutRoute);
router.get(routing.getOpenIdPath("delegated").getPath()).handler(delegationRoute);
router.get(routing.getOutOfBandLoginLoginEndpoint().getPath()).handler(outOfBandLoginRoute);
router.route("/auth/js/keycloak.js").handler(keycloakJsRoute);
return router;
Expand Down

This file was deleted.

12 changes: 0 additions & 12 deletions mock/src/main/resources/delegation.ftl

This file was deleted.

0 comments on commit 60b708a

Please sign in to comment.