Skip to content

Commit

Permalink
Make Saml2 cookie essential
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslevesque committed Mar 26, 2019
1 parent a705999 commit a0d559e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sustainsys.Saml2.AspNetCore2/CommandResultExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public static async Task Apply(
HttpOnly = true,
// We are expecting a different site to POST back to us,
// so the ASP.Net Core default of Lax is not appropriate in this case
SameSite = SameSiteMode.None
SameSite = SameSiteMode.None,
IsEssential = true
});
}

Expand Down

0 comments on commit a0d559e

Please sign in to comment.