Skip to content

Commit

Permalink
Remove IdentityServer from angular template
Browse files Browse the repository at this point in the history
- Use default Identity UI with cookies instead
  • Loading branch information
halter73 committed May 18, 2023
1 parent a727e46 commit 606ebb7
Show file tree
Hide file tree
Showing 37 changed files with 41 additions and 1,774 deletions.
1 change: 0 additions & 1 deletion src/Angular-CSharp.csproj.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="${MicrosoftAspNetCoreApiAuthorizationIdentityServerVersion}" Condition=" '$(IndividualLocalAuth)' == 'True' " />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="${MicrosoftAspNetCoreDiagnosticsEntityFrameworkCoreVersion}" Condition=" '$(IndividualLocalAuth)' == 'True' " />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="${MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion}" Condition=" '$(IndividualLocalAuth)' == 'True' " />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="${MicrosoftAspNetCoreIdentityUIVersion}" Condition=" '$(IndividualLocalAuth)' == 'True' " />
Expand Down
4 changes: 1 addition & 3 deletions src/content/Angular-CSharp/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
"exclude": [
"Pages/Shared/_LoginPartial.cshtml",
"Data/**",
"Models/**",
"ClientApp/src/api-authorization/**",
"Controllers/OidcConfigurationController.cs"
"Models/**"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/content/Angular-CSharp/ClientApp/proxy.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { env } = require('process');

const target = env.ASPNETCORE_HTTPS_PORT ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}` :
env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'http://localhost:8080';
env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'http://localhost:5001';

const PROXY_CONFIG = [
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 606ebb7

Please sign in to comment.