When SP need additional attribute and you add these attribute to SP metadata in OpenAM console. all the existing attribute values got overwritten. So to fix this you have add all the attribute that SP required to SP metadata configuration by following below steps
go to SP metadata and select "Assertion Processing" and add required attributes to "Attribute Mapper"
like
mail=mail
uid=uid
go to SP metadata and select "Assertion Processing" and add required attributes to "Attribute Mapper"
like
mail=mail
uid=uid