-
|
I am running Identity Server and another .NET app with BFF and I am trying to get Identity Server to issue a back-channel logout request. Based on the documentation, it is supposed to happen automagically. On Identity Server, the client is configured like this: new Client
{
ClientId = "bff",
ClientName = "BFF Example",
BackChannelLogoutUri = "https://localhost:5082/bff/backchannel",
// many additional setings!
};The Is there something else that needs to happen in order for back-channel logout requests to get issued to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Hi @dana-n I believe you also need to set the client.BackChannelLogoutSessionRequired = true;Here are the integration tests that run both IS and BFF together: |
Beta Was this translation helpful? Give feedback.
The back-channel logout should be triggered regardless of whether you signed in using an external identity provider. When you call
_signInManager.SignOutAsync();inside thatLogoutLocallyIfAuthenticatedmethod, IdentityServer hooks in and will perform the back-channel logout inside theIdentityServerMiddleware.If you (temporarily) enable debug-level logging for the namespace
Duende.IdentityServer.Services, you should see a line like: