# Back or Front channel logout?

**URL:** <https://forum.keycloak.org/t/back-or-front-channel-logout/18405>\
**Category:** Getting advice\
**Created:** [November 12, 2022, 10:03pm UTC](https://forum.keycloak.org/t/back-or-front-channel-logout/18405 "2022-11-12T22:03:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g34h34h](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/g34h34h/32/6444_2.png) [@g34h34h](https://forum.keycloak.org/u/g34h34h)\
**Post date:** [November 12, 2022, 10:03pm UTC](https://forum.keycloak.org/t/back-or-front-channel-logout/18405/1 "2022-11-12T22:03:32Z")

</div>

I have a web application (confidential client) that has a web route at `/logout` that upon visiting, will `301` redirect the user to `https://keycloak?post_logout_redirect_uri=...&id_token_hint=...`.

At which point the user gets a logout and redirects back to whatever I have passed in the redirect uri … long story short; it works fine.

I am just wondering if this is a Front or Back channel logout. I would suspect “front channel” because I communicate the logout requests between RP and OP via the User Agent… right?

Back-channel would be my backend just sending a HTTP request to the Keycloak directly, without any `301` redirection going on.

This is described in [the spec](https://openid.net/specs/openid-connect-frontchannel-1_0.html#Introduction), just asking for verification.
