Additonal Claims not persisted

Oct 7, 2014 at 5:38 AM

I've hooked into
user.GenerateUserIdentityAsync(UserManager<IdentityUser> manager)

to add addtional claims to my identity.

The identity that is returned is correct however after calling
var identity = await user.GenerateUserIdentityAsync(UserManager);
AuthenticationManager.SignIn(new AuthenticationProperties() { IsPersistent = false }, identity);
All claims are lost again. Anybody any suggestions ?