Replies: 1 comment
-
The backchannel logout is between the identity provider and the BFF Client (the host of your React application); you still need to implement the last part, which would be to periodically check the user management endpoints (making sure to keep the session from sliding). At this point, you'd code what would happen if the session has expired: redirect the user, show a dialog, close the window, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to configure Back-Channel Logout in my React app.
In my Program.cs, I added:
builder.Services.AddBff(options =>
{
options.BackchannelLogoutAllUserSessions = true;
})
.AddRemoteApis();
and also added: app.MapBffManagementEndpoints();
On the IdentityServer side, my client is configured with::
BackChannelLogoutUri = "https://my-bff-app.com/bff/backchannel",
BackChannelLogoutSessionRequired = true
However, when I log out from another client, the BFF session in my React app is not terminated.
What am I missing to get back-channel logout working?
Beta Was this translation helpful? Give feedback.
All reactions