Thank you for your patience.
end_session_endpoint
is used by the app to go to the logout page of B2C.
Did you try to send a sign-out request directly:
GET https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{policy}/oauth2/v2.0/logout?post_logout_redirect_uri=https%3A%2F%2Fjwt.ms%2F
Also, as FrankEscarosBuechsel-MSFT mentioned, you need to configure session behavior in your custom policy.
Could you please verify that KMSI(Keep me Signed In) is not enable in your application.
<ClaimsProvider>
<DisplayName>Local Account</DisplayName>
<TechnicalProfiles>
<TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Email">
<Metadata>
<Item Key="setting.enableRememberMe">False</Item>
</Metadata>
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>
Also, while configuring the web app session timeout in your custom policy, configure it as :
- Absolute - Indicates that the user is forced to reauthenticate after the time period specified.
<UserJourneyBehaviors>
<SingleSignOn Scope="Application" />
<SessionExpiryType>Absolute</SessionExpiryType>
<SessionExpiryInSeconds>86400</SessionExpiryInSeconds>
</UserJourneyBehaviors>
Hope this will help to validate the configuration at your end. If you are still facing issues, an idea would be to redirect using &prompt=login in your auth url will revoke your login request.
Hope this will help.
Thanks,
Shweta