Yes, the "Data mapping" in the generic social sign-in provider configuration is used for mapping the data returned by the sign-in provider to traits as defined in the identity schema, which is applicable to both registration and login flows. The Jsonnet code snippet created for data mapping is a part of the Ory Identities configuration for the given social sign-in provider. You can learn more about Jsonnet data mapping in [this document](
https://www.ory.sh/docs/kratos/social-signin/data-mapping).