Skip to content

Commit 9e7376b

Browse files
authored
Merge pull request #7605 from umbraco/v17/feature/token-cookies
Added docs for auth tokens in cookies (V17)
2 parents a7d16c5 + 2e3f3f1 commit 9e7376b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

17/umbraco-cms/reference/configuration/securitysettings.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ A full configuration with all default values can be seen here:
4545
"UserDefaultFailedLoginDurationInMilliseconds": 1000,
4646
"UserMinimumFailedLoginDurationInMilliseconds": 250,
4747
"PasswordResetEmailExpiry": "01:00:00",
48-
"UserInviteEmailExpiry": "3.00:00:00"
48+
"UserInviteEmailExpiry": "3.00:00:00",
49+
"BackOfficeTokenCookie": {
50+
"SameSite": "Strict"
51+
}
4952
}
5053
}
5154
}
@@ -163,3 +166,13 @@ Options are:
163166
## Member password settings
164167

165168
This section allows you to define the password rules for members. This section is identical to the one for users.
169+
170+
## Backoffice token cookie settings
171+
172+
User authentication tokens are redacted from the server's authentication responses and put into secure cookies instead. This section lets you change the default settings for the generated token cookies.
173+
174+
It is not recommended to change these settings, as it may result in lesser security for the backoffice users.
175+
176+
### Same site
177+
178+
Sets the `SameSite` configuration for the token cookies. Valid values are "Unspecified", "None", "Lax", and "Strict" (default).

0 commit comments

Comments
 (0)