Skip to content

Commit

Permalink
Merge pull request #304 from DFE-Digital/118700-redirect-overrride
Browse files Browse the repository at this point in the history
118700 redirect overrride
  • Loading branch information
paullocknimble authored Jan 20, 2023
2 parents 3051588 + 7d6400c commit ca3d8ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dfe.Academies.External.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
options.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;
})
.AddCookie()
// test to see if this resolves the correlation problem
.AddCookie(opt => opt.Cookie.SameSite = SameSiteMode.None)
.AddOpenIdConnect(options =>
{
options.ClientId = configuration["SignIn:OneloginOpenIdConnectClientId"];
Expand Down

0 comments on commit ca3d8ab

Please sign in to comment.