diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/CookieTempDataProviderOptions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/CookieTempDataProviderOptions.cs
index 138105d7c8..58ee79d044 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/CookieTempDataProviderOptions.cs
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/CookieTempDataProviderOptions.cs
@@ -16,7 +16,9 @@ namespace Microsoft.AspNetCore.Mvc
{
Name = CookieTempDataProvider.CookieName,
HttpOnly = true,
- SameSite = SameSiteMode.Strict,
+
+ // Check the comment on CookieBuilder below for more details
+ SameSite = SameSiteMode.Lax,
// This cookie has been marked as non-essential because a user could use the SessionStateTempDataProvider,
// which is more common in production scenarios. Check the comment on CookieBuilder below
@@ -36,7 +38,9 @@ namespace Microsoft.AspNetCore.Mvc
/// Determines the settings used to create the cookie in .
///
///
- /// defaults to .
+ /// defaults to . Setting this to
+ /// may cause browsers to not send back the cookie to the server in an
+ /// OAuth login flow.
/// defaults to .
/// defaults to true.
/// defaults to false, This property is only considered when a