Using the ITfoxtec.Identity.Saml2, is there any way to keep the cookie information in Redis, If the pod is destroyed the session will not be there so any solution?
Asked
Active
Viewed 250 times
1 Answers
3
In ASP.NET Core you can implement the ITicketStore and configure it in ConfigureServices on the AddSaml2 method, like this:
services.AddSaml2(sessionStore: RedisTicketStore);
The ITicketStore provides an abstract storage mechanic to preserve identity information on the server while only sending a simple identifier key to the client. This is most commonly used to mitigate issues with serializing large identities into cookies.

Anders Revsgaard
- 3,636
- 1
- 9
- 25