Skip to content

Commit

Permalink
Updated version and removed not necessary origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyDevelopment committed Jun 23, 2024
1 parent 30af212 commit a2b1f55
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.9</Version>
<Version>1.0.0</Version>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ internal static void AddGatewayAuthentication(IServiceCollection services, Gatew
{
HttpClient defaultBackchannel = new HttpClient();

if (settings.Authority.StartsWith("https://login.microsoftonline.com"))
{
// Add an origin header because it is expected by Microsoft Entra Id (the value of the header doesn't matter)
defaultBackchannel.DefaultRequestHeaders.Add("Origin", "Fancy.ResourceLinker.Gateway");
}

options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
options.Authority = settings.Authority;
options.ClientId = settings.ClientId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.9</Version>
<Version>1.0.0</Version>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.9</Version>
<Version>1.0.0</Version>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>0.0.9</Version>
<Version>1.0.0</Version>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit a2b1f55

Please sign in to comment.