angular-auth-oidc-client icon indicating copy to clipboard operation
angular-auth-oidc-client copied to clipboard

[Feature Request]: LogoutAuthOptions add silent logout option

Open DaanPepping opened this issue 1 year ago • 0 comments

First off, thank you for creating and maintaining this library!

Is your feature request related to a problem? Please describe. I'm trying to create a feature that logs the user out after a couple minutes of inactivity. To prevent confusion i would like to show a dialog that explains to the user that they have been logged out due to inactivity. Normally i want my logoff to redirect to the identity server but in this case i want to prevent / delay the redirect.

Describe the solution you'd like I would like to be able to provide a parameter to LogoutAuthOptions which prevents the postLogoutRedirectUri from being used.

Describe alternatives you've considered I've tried doing a local logoff and to revoke access and refresh tokens but this still allows you to open a new tab to continue the session. I've tried removing the cookies my identityprovider stores in the client browser but since they were issued by another domain, i am unable to remove these programmatically.

DaanPepping avatar Sep 06 '24 12:09 DaanPepping