WHMCS Based Login for WordPress
This is to share the experience of a cool project I completed recently. It is perfect integration to have users login to WordPress site, a web hosting solution, using WHMCS being a Web Hosting Billing & Automation Platform. We have a plan to extend this further to other web hosting solutions in use. For this particular integration we have two requirements. Users in WHMCS should be able to seamlessly login to Wordpress to manage it. If the user authenticated at WHMCS is already present in WordPress link them, else create a new user with the details received from WHMCS. We have the well known standard protocols used for similar scenarios based on SAML 2.0 ( http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html ) and OpenIDConnect 1.0 ( https://openid.net/connect/ ). Based on the future direction, wide usage and availability of plugins we selected OIDC(OpenID Connect) to go forward. There were whole lot of plugins available for us in this journey to se...