Persist User Account through docker restart?

Isaac Levin 1 Reputation point MVP
2022-05-10T19:17:14.713+00:00

Here is the GitHub issue for more context.

https://github.com/isaacrlevin/presencelight/issues/599

I want to be able to persist the UserAccount of a logged in user that I am caching through a docker restart. Currently I am caching the token properly and log in is not enforced through a restart BUT the population of the UserAccount object is required (this is done through Identity.Web).

Is what I am trying to do possible? Long and short I want to be able to have a populated UserAccount even though the docker container restarts.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,615 questions
{count} votes