Activities of "Priyanka"

hi

You need to call the base method to logout

 
// Ask ASP.NET Core Identity to delete the local and external cookies created 
// when the user agent is redirected from the external identity provider 
// after a successful authentication flow (e.g Google or Facebook). 
await SignInManager.SignOutAsync(); 
 
// Returning a SignOutResult will ask OpenIddict to redirect the user agent 
// to the post_logout_redirect_uri specified by the client application or to 
// the RedirectUri specified in the authentication properties if none was set. 
return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme); 

It will redirect to post_logout_redirect_uri, you can redirect to externalLogout in your post_logout_redirect_uri.

If you can share a simple project, I can download and check it.

liming.ma@volosoft.com

Hi, I have updated post_logout_redirect_uri (refer below columns)

but still while calling the logout post_logout_redirect_uri is same (seems like it is taking from somewhere else), it is going on login page but not clearing external login session

Please find my sample project here- https://github.com/priyankamauryaa/eFC

hi

You need to call the base method to logout

  
// Ask ASP.NET Core Identity to delete the local and external cookies created  
// when the user agent is redirected from the external identity provider  
// after a successful authentication flow (e.g Google or Facebook).  
await SignInManager.SignOutAsync();  
  
// Returning a SignOutResult will ask OpenIddict to redirect the user agent  
// to the post_logout_redirect_uri specified by the client application or to  
// the RedirectUri specified in the authentication properties if none was set.  
return SignOut(authenticationSchemes: OpenIddictServerAspNetCoreDefaults.AuthenticationScheme);  

It will redirect to post_logout_redirect_uri, you can redirect to externalLogout in your post_logout_redirect_uri.

If you can share a simple project, I can download and check it.

liming.ma@volosoft.com

Hi, I have updated post_logout_redirect_uri (refer below columns)

but still while calling the logout post_logout_redirect_uri is same (seems like it is taking from somewhere else), it is going on login page but not clearing external login session

Please find my sample project here- https://github.com/priyankamauryaa/eFC

Hi, it is working after updating this in code

[ReplaceControllers(typeof(LogoutController))] public class CustomLogoutController : LogoutController { [HttpGet] public override async Task<IActionResult> GetAsync() { if (Response != null) { IConfigurationRoot _config = new ConfigurationBuilder().SetBasePath(Directory.GetParent(AppContext.BaseDirectory).FullName) .AddJsonFile("appsettings.json", false).Build(); var externalLogout = _config.GetSection("ADFSConfig:EndSession").Get<string>(); Response.Redirect(externalLogout); } await SignInManager.SignOutAsync(); return SignOut(); } }

Hi, it is working after updating this in code

Great. 👍

Thank you so much for your support and time. :)

hi

Can you share some code or a simple project to reproduce this?

liming.ma@volosoft.com

Hi, it worked after commenting localizationResource from TemplateDefinitionProvider.

After commenting it is using this overload method

Can you share sample link to use this overload?

hi

Using this overload is no problem.

Can you share a new template project to reproduce your problem?

liming.ma@volosoft.com

hi, please refer this for sample in same project.

https://github.com/priyankamauryaa/eFC/blob/32e09c87fefea417338e6dc93ca963553ccfe843/eFC.Application/BT/BTAppService.cs#L22C9-L38C1

hi

I can't build and run your app.

Can you share a template sample project?

Thanks

no problem, it is working after commenting localizationResource from TemplateDefinitionProvider. Thanks again for the response.

shiwei.liang@volosft.com

Hi, for same project you can refer this -https://github.com/priyankamauryaa/eFC

Thanks

: )

can you tell me your github username ?

realLiangshiwei

I sent you invite as collaborator. can you accept and try?

Hi,

I checked, but there is no [ERR] Request Info: Accep.... error in the logs.

Do I miss something?

No, just by running, I'm getting error in logs even before login.

Showing 81 to 90 of 116 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.2.0-preview. Updated on January 22, 2026, 11:30
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.