You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: astro/src/content/docs/identityserver/aspnet-identity/schemes.md
-22Lines changed: 0 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,6 @@ When a user logs in, their identity is established and persisted across requests
16
16
17
17
When using IdentityServer without ASP.NET Identity, the default cookie scheme is named `"idsrv"`, though we recommend using the constant `IdentityServerConstants.DefaultCookieAuthenticationScheme` in your code if you ever need it.
18
18
19
-
Starting in **v8.0**, the default cookie name (not the scheme name) has changed to `"__Host-idsrv"` to improve security. The scheme name remains `"idsrv"`. See [Cookie Name Migration (v8.0)](#cookie-name-migration-v80) below for upgrade instructions.
20
-
21
19
The default cookie scheme is configured by default in `AddIdentityServer()`, which sets up the cookie authentication handler with this scheme name. This cookie is essential for:
22
20
23
21
- maintaining the user's authenticated session
@@ -59,8 +57,6 @@ This allows your login logic to read the claims from the external provider befor
59
57
60
58
IdentityServer always uses the `"idsrv.external"` scheme here, available in the `IdentityServerConstants.ExternalCookieAuthenticationScheme` constant.
61
59
62
-
Starting in **v8.0**, the default cookie _name_ for this scheme has changed to `"__Host-idsrv.external"` (previously `"idsrv.external"`). See [Cookie Name Migration (v8.0)](#cookie-name-migration-v80) below for upgrade instructions.
63
-
64
60
### Check Session Cookie
65
61
66
62
IdentityServer session management requires a separate cookie to monitor the session state without sending the large authentication cookie.
@@ -70,24 +66,6 @@ The [User Session Service](/identityserver/reference/services/user-session-servi
70
66
71
67
Note this cookie is not marked as `HttpOnly`, so it can be accessed in client-side code. The JavaScript code that is required to check user sessions in the background also requires access to this cookie, and needs it to be `HttpOnly`.
72
68
73
-
## Cookie Name Migration :badge[v8.0]
74
-
75
-
In IdentityServer v8.0, the default cookie **names** changed to use the `__Host-` prefix for
76
-
improved security. The `__Host-` prefix restricts cookies to HTTPS-only, `Path=/`, and no `Domain`
77
-
attribute — providing defense-in-depth against cookie theft and session fixation attacks.
-**Mixing Schemes:** Attempting to `SignOutAsync("idsrv")` when ASP.NET Identity is in use will have no effect on the actual `"Identity.Application"` cookie, leaving the user logged in. Always use the constants or the helper services (like `SignInManager`) that match your configuration.
Copy file name to clipboardExpand all lines: astro/src/content/docs/identityserver/reference/options.md
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -283,6 +283,7 @@ Login/logout related settings. Available on the `Authentication` property of the
283
283
284
284
-**`CookieAuthenticationScheme`**
285
285
Setsthecookieauthenticationschemeconfiguredbythehostusedforinteractiveusers. Ifnotset, theschemewillbeinferredfromthehost's default authentication scheme. This setting is typically used when AddPolicyScheme is used in the host as the default scheme.
Copy file name to clipboardExpand all lines: astro/src/content/docs/identityserver/reference/stores/client-store.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,4 +39,4 @@ public interface IClientStore
39
39
40
40
`GetAllClientsAsync` returns all configured clients as an async enumerable. <spandata-shb-badgedata-shb-badge-variant="default">Added in 8.0 (prerelease)</span>
41
41
42
-
Used by the [conformance report](/identityserver/diagnostics/conformance-report/) and configuration validation features. Custom `IClientStore` implementations must implement this method — see the [upgrade guide](/identityserver/upgrades/v7_4-to-v8_0/#iclientstoregettallclientsasync-now-required) for details.
42
+
Used by the [conformance report](/identityserver/diagnostics/conformance-report/) and configuration validation features. Custom `IClientStore` implementations must implement this method — see the [upgrade guide](/identityserver/upgrades/v7_4-to-v8_0.md#iclientstoregetallclientsasync-now-required) for details.
0 commit comments