services/src/main/java/org/keycloak/services/resources/admin/AdminConsole.java
/**
     * Logout from the admin console
     *
     * @return
     */
Logout from the admin console

@return
Logout from the admin console @return
@Path("logout")
    @GET
    @NoCache
    public Response logout() {
        URI redirect = AdminRoot.adminConsoleUrl(uriInfo).build(realm.getName());
        return Response.status(302).location(
                OIDCLoginProtocolService.logoutUrl(uriInfo).queryParam("redirect_uri", redirect.toString()).build(realm.getName())
        ).build();
    }
@ Path ( "logout" ) @ GET @ NoCache public Response logout ( ) { URI redirect = AdminRoot . adminConsoleUrl ( uriInfo ) . build ( realm . getName ( ) ) ; return Response . status ( 302 ) . location ( OIDCLoginProtocolService . logoutUrl ( uriInfo ) . queryParam ( "redirect_uri" , redirect . toString ( ) ) . build ( realm . getName ( ) ) ) . build ( ) ; }
Logout from the admin console
Logout from the admin console