Log out user when idle using IdentityServer4 + oidc-client-js in Angular
问题 On my application I have a timeout feature so when the user is idle for X minutes I want to sign out from Identity Server. My first attempt was to manually create the call without having the user to navigate to the Logout controller. This code looks like this (Angular + TS): this.userManager .createSignoutRequest({ id_token_hint: this.user && this.user.id_token }) .then(signout_request => { this.http .get(signout_request.url, { responseType: 'text', headers: new HttpHeaders().set