When user sign ups a Google Auth, we will create a Pwd auth connection, then we will use management API to link Google auth connection with a Pwd Auth connection by linking them together.
When updating given_name and familly_name with the “Username-Password-Authentication” connection, we still received an error. The specified connection (Username-Password-Authentication) belongs to a secondary identity.
Can we instead make the “Username-Password-Authentication” the primary identity provider to avoid this problem? And how to do it?
[
{
"provider": "google-oauth2",
"user_id": "107469007964388287664",
"connection": "google-oauth2",
"isSocial": true
},
{
"profileData": {
"email": "account@company.com",
"email_verified": true,
"last_password_reset": "2022-10-19T01:02:34.061Z"
},
"connection": "Username-Password-Authentication",
"provider": "auth0",
"user_id": "6348de7a58c1292a55d6fc59",
"isSocial": false
}
]