I am using the following with a JavaScript Client to logout of an IdenityServer4 api.
var config = { authority: "http://localhost:7601", client_id: "ClientLocal", redirect_uri: "http://localhost:8200/callback.html", response_type: "id_token token", scope: "openid profile api1", post_logout_redirect_uri: "http://localhost:8200/default.html" }; var mgr = new Oidc.UserManager(config);
function logout() { mgr.signoutRedirect(); }
It does log me out, but leaves me at the IdentityServer login page, and not back at the client login page.
What am I doing wrong?