In the account login, I added values to the claims as
// Initialization.
var claims = new List <Claim> ();
try {
// Setting
TextInfo textInfo = new CultureInfo("en-US", false).TextInfo;
string nme = textInfo.ToTitleCase(Name.ToLower());
string surN = textInfo.ToTitleCase(surName.ToLower());
claims.Add(new Claim(ClaimTypes.Name, Name));
claims.Add(new Claim("surName", surN));
claims.Add(new Claim("Name", nme));
claims.Add(new Claim("Customer_Id", Customer_Id));
claims.Add(new Claim("User_Id", UserId));
claims.Add(new Claim("TimeZone", timeZone));
var claimIdenties = new ClaimsIdentity(claims, DefaultAuthenticationTypes.ApplicationCookie);
var ctx = Request.GetOwinContext();
var authenticationManager = ctx.Authentication;
// Sign In.
authenticationManager.SignIn(new AuthenticationProperties() {
IsPersistent = false
}, claimIdenties);
var identity = new ClaimsIdentity(claims, DefaultAuthenticationTypes.ApplicationCookie);
var claimsPrincipal = new ClaimsPrincipal(identity);
Thread.CurrentPrincipal = claimsPrincipal;
} catch (Exception ex) {
// Info
throw ex;
Now I want to update the Claims value in "Customer_Id" with a new value in another controller.
How do I update this claim?