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: src/content/docs/identityserver/troubleshooting/index.mdx
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -279,6 +279,64 @@ When dealing with external authentication, you may want to set `MapInboundClaims
279
279
280
280
When dealing with external authentication, you may want to implement `OnTicketReceived` to reduce the size of the cookie. This is a callback that is invoked after the external authentication process is complete. You can use this callback to remove any claims that are not needed by your solution.
281
281
282
+
### Use Server-side Sessions
283
+
284
+
If you have a Business Edition or higher license for IdentityServer, then you can use [server-side sessions][2] to store the
285
+
user's session data in a data store instead of in the cookie. This will greatly reduce the size of the cookie while allowing you to store more data in the session.
286
+
287
+
### Implement a Custom `ITicketStore` to Reduce Cookie Size
288
+
289
+
When configuring the cookie authentication handler, you can provide a custom `ITicketStore` implementation to store the
290
+
authentication ticket data server-side instead of in the cookie.
0 commit comments