I need the equivalent function for user_set_authmaps(), in Drupal 8.

What function/method replaced it?

1 Answer 1


As reported in {authmap} deprecation, the authmap database table has been removed from Drupal 8; at the same time, the functions using that database table (such as user_set_authmaps()) has been removed.

The suggested alternatives are:

  • Write your own solution for managing user external authentication and storing remote identities

  • Use the External Authentication module

  • I am not able to use external authentication module neither implement by myself (due to lack of my technical skills). Can you please name few modules using External Authentication module so that i can refer those as examples?
    – neha
    Commented Feb 21, 2017 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.