Open Closed

Showing Blank Page After Logout #7547


User avatar
0
jayesh@extranerds.com created
  • ABP Framework version: v8.0.1
  • UI Type: Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server,)
  • Tiered (for MVC): Yes
  • Exception message and full stack trace: no exception, redirection from logout to the login is taking time for the deployed site on the Azure platform. While debugging locally, it is working well.
  • Steps to reproduce the issue:
  1. Login in - https://blzortest.azurewebsites.net/Account/Login
  2. Logout
  3. After the Logout, the page redirects to the URL - https://blazortest.azurewebsites.net/authentication/logout-callback
  4. Blank Page shows for 2 minutes
  5. Then automatically redirect to the login page - https://blazortest.azurewebsites.net/Account/Login?ReturnUrl=.....

Solution Applied:

  1. https://abp.io/support/questions/3071/Show-login-page-after-logout
  2. https://abp.io/support/questions/1152/How-to-to-Login-page-when-accessing-the-app-and-after-logout
  3. https://abp.io/support/questions/3352/Can-we-remove-you-are-successfully-logout-screen-and-show-login-screen
  4. https://github.com/abpframework/abp/issues/11600
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    You can custom it if you want

    https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/additional-scenarios?view=aspnetcore-6.0#customize-the-authentication-user-interface

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    jayesh@extranerds.com created

    Hello Team,

    Thank you for replying.

    I have already tried this, however did not work for me on the deployed site.

    another code to fix, but did not work on the deployed site

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    you can try replace the component.

    @attribute [ExposeServices(typeof(Authentication))]
    @attribute [Dependency(ReplaceServices = true)]
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    jayesh@extranerds.com created

    Hi Team,

    I have applied your suggestion, however it is not working on the deployed site.

    Kindly request you to suggest something else to fix this issue.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    another code to fix, but did not work on the deployed site

    Hi, you can try override the LogoutController

    https://github.com/abpframework/abp/blob/dev/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/LogoutController.cs#L14

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.