- Added JWT configuration to appsettings.json for secure token handling. - Updated config.json to include OAuth provider details for Microsoft, Google, and PocketId. - Added Microsoft icon SVG for UI representation. - Refactored app.config.ts to use a custom AuthInterceptor for managing access tokens. - Enhanced auth route guard to handle asynchronous authentication checks. - Created new auth models for structured request and response handling. - Developed a callback component to manage user login states and transitions. - Updated side-login component to support multiple OAuth providers with loading states. - Implemented authentication service methods for handling OAuth login flows and token management. - Added error handling and user feedback for authentication processes.
31 lines
1.7 KiB
XML
Executable File
31 lines
1.7 KiB
XML
Executable File
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UserSecretsId>aspnet-Api-50db7f4c-1c75-467a-a923-a5477d7decc4</UserSecretsId>
|
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
|
<DockerfileContext>.</DockerfileContext>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Google.Cloud.RecaptchaEnterprise.V1" Version="2.18.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.18" NoWarn="NU1605" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.18" NoWarn="NU1605" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.18">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.18" />
|
|
<PackageReference Include="Microsoft.Identity.Web" Version="3.10.0" />
|
|
<PackageReference Include="Microsoft.Identity.Web.DownstreamApi" Version="3.10.0" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.22.1" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.3" />
|
|
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.12.1" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.18" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.18" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|