Skip to content

How can I perform a backchannel logout with BFF, with a single browser call? #215

Answered by ch4mpy
sisco70 asked this question in Q&A
Discussion options

You must be logged in to vote

User logout from an OAuth2 system

Users have sessions on the authorization server and on each OAuth2 client with which they use authorization code flow. So, that's a minimum of two sessions to close (the one on the BFF and the one on Keycloak in your case).

RP-Initiated Logout

This is the mechanism used in the tutorial. As exposed in the spec:

An RP requests that the OP log out the End-User by redirecting the End-User's User Agent to the OP's Logout Endpoint.

In the case of the tutorial, the relying party (RP) is the BFF and the OpenID provider (OP) is Keycloak.

Purpose of the Back-Channel Logout

This is designed to provide single sign-out in "Single Sign-On" environment: in the case wh…

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sisco70
Comment options

You must be logged in to vote
4 replies
@ch4mpy
Comment options

@ch4mpy
Comment options

@sisco70
Comment options

@ch4mpy
Comment options

Comment options

You must be logged in to vote
1 reply
@ch4mpy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sisco70
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants