- ABP Framework version: v8.3.1
- UI Type: Mvc
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
We are making extensive changes to the AuthServer interface. We are wondering if we can create a no-ui AuthServer project. We know and implement the UI modification methods you have provided, but it would still be nice to use our own built application on the UI side and use authserver on the backend side. Thanks for your help.
10 Answer(s)
-
0
hi
The AuthServer built-in the account pro module for
login(Authentication)
and oauth2, etc.That means it has to have UI pages.
The Auth Server project will not have a
No UI
option. -
0
Thanks for your answer, is there a way to remove the UI dependencies? That is, can we prevent it from installing client packages?
-
0
You can remove the
.Web
package from auth server, andnpm
packages frompackages.jon
But the UI won't work after that.
You can only use the oauth2 flow without UI.
-
0
Is there a module I need to remove? I think some modules will give an error in this case, for example the libs folder is empty.
-
0
hi Please share your
authserver.csproj
file content. -
0
<PropertyGroup> <ItemGroup> <PackageReference Include="Aspire.StackExchange.Redis" Version="9.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="8.0.2" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="8.0.1" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.4" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="8.0.1" /> <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" /> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.4" /> <PackageReference Include="DistributedLock.Redis" Version="1.0.2" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.4" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.4" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.4" /> <PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.1.1" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Abp.Autofac" Version="8.3.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.3.1" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.3.1" /> <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.3.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Application" Version="8.3.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.HttpApi" Version="8.3.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="8.3.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.Impersonation" Version="8.3.1" /> <PackageReference Include="Volo.Saas.Host.Application.Contracts" Version="8.3.1" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\modules\basic-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj" /> <ProjectReference Include="..\ServiceDefaults\Suite.ServiceDefaults.csproj" /> <ProjectReference Include="..\Suite.EntityFrameworkCore\Suite.EntityFrameworkCore.csproj" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Abp.Studio.Client.AspNetCore" Version="0.8.3" /> </ItemGroup> <ItemGroup> <Folder Include="Pages\Account\" /> </ItemGroup>
-
0
-
0
hi
The
Volo.Abp.Account.Pro.Public.Web.OpenIddict
andVolo.Abp.AspNetCore.Mvc.UI.Theme.Basic
packages contain the UI pages.If you don't need them, you can remove them.
-
0
This caused other problems so I guess I'll give up :), thanks for your help.
-
0
Yes, Keeping them won't affect you. : )