Open Closed

Don't separate Authentication server for Application (Layered) of Blazor WebApp #9922


User avatar
0
hanntd created

I want to have a template for Blazor Web App when publish will output one for blazor and one for HttpApi.host included Auth Server, but with Layered template for Blazor Web App and check Tiered option it will create a solution template with separated auth server. I tried for Blazor Web Assembly it has option "Separate Authentication Server" if i don't check it will create solution template as expected with integration of Auth Server into HttpApi.host. How can I do the same for Blazor Web App. Option for Blazor Web App: Option for Blazor Web Assembly:


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    For the Blazor Web App (Fullstack) template in ABP Framework, the current solution template does not provide an option to "Separate Authentication Server" like the Blazor WebAssembly template does. In the Blazor Web App layered template, the authentication server is integrated into the HttpApi.Host by default unless you select the "Tiered" option, which physically separates the Web and HTTP API layers (and may also separate the Auth Server).

    If you want a single deployment output where the Blazor WebApp and HttpApi.Host (including the Auth Server) are together, simply do NOT check the "Tiered" option when creating your solution. This will generate a layered solution with the Auth Server integrated into the HttpApi.Host, matching your requirement.

    Currently, there is no "Separate Authentication Server" checkbox for the Blazor Web App template. The separation is only controlled by the "Tiered" option. If you want the same behavior as Blazor WebAssembly (where you can choose to separate or not), you must use the layered template and leave "Tiered" unchecked.

    Source:

    • https://abp.io/docs/latest/solution-templates/layered-web-application/web-applications

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    hanntd created

    Your AI answer does not meet my expectation I want to separate hosting for Blazor and Backend Api included Auth Server, I don't want to output a single deployment

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It does not support this kind of structural solution.

    I will create an internal issue to track your request.

    Thanks.

  • User Avatar
    0
    hanntd created

    Is there any work around solution to customize for expected structure? Thanks Dharma

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can merge the API into the AuthServer project, then update the project URLs.

    Thanks.

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.0.0-preview. Updated on September 23, 2025, 10:47