Unable to logout from okta using logout URL in SAML

We have used MultiSamlStrategy and the below code in node.js to log out but not working as per expectation. When visiting the login page, getting logged in without asking the password. Instead of that it should ask password.

samlStrategy.logout(req, (err, request) => {
                    if (err) {
                        console.log(err);
                    }
                    return res.redirect(request);
                });

TIA

Hi! Did you add the SLO logout URL to your configuration? If you haven’t, the logout will fail; search for the title “Enable SLO for SAML integrations” on this page, it’s the first topic: Configure Single Logout in app integrations | Okta.

1 Like