I am trying to think of a logical way to integrate another system's users with Drupal's. The actual integration is between Drupal and WHMCS. WHMCS has its own API so you can do things like getUser(emailAddress). What should be my strategy? Is there an easy way to make Drupal completely ignore the local "users" table and rather use another source for authentication? Perhaps auto-creating an entry on the Drupal side for non-existing users and automatically making users inactive that no longer exist on WHMCS's side?


I tried the suggested authorization providers suggested, but it seems my problem is the other way around. I don't want other sites to be authenticated using my drupal site's login details. What I actually want to do is use an installation of WHMCS, and use that as the authorized users list. In other words, when a user tries to log in using their whmcs details, it must log them into the drupal site. If they change their e-mail address on the drupal site, it must update it on the whmcs site. I know how write the api implemtation, I just don't know what I must use to do the groundwork. I would imagine there is already some kind of middleware that does the bulk of the work, and then I just have to code the implementation that does the lookup of a user, the call to update the details etc.

Is there something available that will allow me to easily integrate with a JSON Api like WHMCS?

  • Is there a 1:1 relationship between users in WHMCS and Drupal ? And is email id unique in both installation?
    – D34dman
    Commented Sep 25, 2014 at 11:53
  • There is only one installation of WHMCS and the users should be synched across with Drupal. I.e. No new users should be created on Drupal's side, only on WHMCS side. Commented Oct 28, 2014 at 4:11

3 Answers 3


I don't know anything about WHMCS but there seem to be a lot of apps around LDAP connectivity that you can get for it.

The LDAP project for Drupal works well for me for authorization, both with Drupal as the host and with Drupal as the client.


Using Drupal OpenID-Single-Sign on (OMniauth) which very common method for the big organisation who manage a number of drupal/websites. more on that please refer to Comparison of Single Sign On (SSO) Modules

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.