abpframework / abp

Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.31k stars 3.32k forks source link

pass `noRedirectToLogoutUrl` parameter to logout method #19702

Closed Sinan997 closed 1 week ago

Sinan997 commented 2 weeks ago

We don't want to remove auth server session when encounter with the 401 error.

With this way it only logs out from angular and revoke its token.

We can achieve this by passing true to logout method.

angular-oauth2-oidc > oauth.service.ts