Auth0 Home Blog Docs

What will happen if we change password for user that was logged int via Facebook or google

using Management API patch call, what will happen if we change password for user that was logged int via Facebook or google
will that user not able to log in with facebook/google anymore?
or ?

will that user not able to log in with facebook/google anymore?

No, that is not related. Passwords set via Management API only refer to users in Database connections, not to federated Social Connections such as Facebook/Google.
Auth0 also in general never writes back any data to upstream identity providers, it just receives.

but still, my question is …

  1. what will happen when I try to change password of user that logged in via facebook or google
    will I receive error while changing it ?
    will it act as if it worked but it actually did not work?

The request will fail with a 400 error code. You can easily try it out in the API Explorer at https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id

You will get a message like this:

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "The specified connection is not supported for this operation",
  "errorCode": "operation_not_supported"
}

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.