0
dmeagor created
- ABP Framework version: v5.11
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
To allow our users to close their accounts properly, I set the tenant activation state to Passive, then try to sign them out with OAuthService.logOut, but get the following view. All pages in the identity server MVC show this message until the cookie expires.
3 Answer(s)
-
0
Hi,
we will enhance it, for now, you need clear cookies manually
-
0
Hi,
You can try this:
Configure<AbpAspNetCoreMultiTenancyOptions>(options => { options.MultiTenancyMiddlewareErrorPageBuilder = (httpContext, exception) => { foreach (var cookie in httpContext.Request.Cookies) { httpContext.Response.Cookies.Delete(cookie.Key); } httpContext.Response.Redirect(httpContext.Request.Path); return Task.CompletedTask; }; });
-
0
That worked a charm, thank you :)