Activities of "liangshiwei"

Hi,

How do I reproduce these problemes? please share the full steps, thanks.

Hi,

You can try

var app = context.GetApplicationBuilder();
if(app != null)
{
   app.UseMiddleware();
}

Move to https://support.abp.io/QA/Questions/7535/Child-Entities-with-File-Type

Hi,

Could you share the full steps to reproduce? thanks.

You can try

[Route("connect/logout")]
[ApiExplorerSettings(IgnoreApi = true)]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LogoutController))]
public class MyLogoutController : LogoutController
{
    [HttpGet]
    public async override Task<IActionResult> GetAsync()
    {
        await SignInManager.SignOutAsync();

        var post_logout_redirect_uri = HttpContext.Request.Query["post_logout_redirect_uri"].ToString();
        
        return SignOut(authenticationSchemes: "AzureAD" , properties: new AuthenticationProperties()
        {
            RedirectUri ="https://localhost:44322/account/loggedout?PostLogoutRedirectUri="+ post_logout_redirect_uri.Replace("signout-callback-oidc", "")
        });
    }
}

For example:

[Route("connect/logout")]
[ApiExplorerSettings(IgnoreApi = true)]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LogoutController))]
public class MyLogoutController : LogoutController
{
    [HttpGet]
    public async override Task<IActionResult> GetAsync()
    {
        await SignInManager.SignOutAsync();

        var post_logout_redirect_uri = HttpContext.Request.Query["post_logout_redirect_uri"].ToString();
        
        return SignOut(authenticationSchemes: "AzureAD" , properties: new AuthenticationProperties()
        {
            RedirectUri = post_logout_redirect_uri.Replace("signout-callback-oidc", "")
        });
    }
}

Hi,

You can get the client URL from the HTTP Request.

You can try this ,it works for me:

[Route("connect/logout")]
[ApiExplorerSettings(IgnoreApi = true)]
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LogoutController))]
public class MyLogoutController : LogoutController
{
    [HttpGet]
    public override async Task<IActionResult> GetAsync()
    {
        await SignInManager.SignOutAsync();
        
        return SignOut(authenticationSchemes: "AzureAD" , properties: new AuthenticationProperties()
        {
            RedirectUri = "https://localhost:44314" // client URL
        });
    }
}

get redirect uri from HttpContext.Request and add to AuthenticationProperties.RedirectUri

You can add the parameters post logout uri manually

Showing 1611 to 1620 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 21, 2026, 06:18
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.