Posted on: 11/30/2013 6:30:35 AM | Views : 941

Hi, I have set up my forms and database to the new Identity system. Databse migrations all in place and model set up to allow use of additional profile items.
Have then managed to tie this in to the facebook login and retrieve databack from Facebook for the currently logged in user. However, I cannot seem to actually persist this profile data to the database.
The routine I am using is below, this all works perfectly, the usermanager adds the new claim to the database fine, the facebook client gets all the extra info and adds it to the currentUser as expected, but this additional data is never actually saved. The only method I can find that looks like it should perform this function is UserManager.Update
Using this actually reports success but on check the DB the additional info isn't saved.
Does anybody know how to trigger saving of this extra profile into to the user? (I also tried IdentityDbContext.SaveChanges but this does nothing either)< ...

Go to the complete details ...