For social sign-in, required attributes such as email will need to be both mutable on the User Pool as well as writable on the User Pool Client. [Learn more about mapping social sign-in provider attributes](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html#cognito-user-pools-specifying-attribute-mapping-requirements).