I'm trying to integrate a small app to use WHMCS's OpenId login, but it doesn't seem to work.
The php code that I'm using works with existing OpenID providers, Google, Yahoo, Wordpress, StackExchange, and I am trying to use it with WHMCS.
However, when I send the authentication request, all I get is a blank page. No redirects, no messages, no data.
My request URI:
https://www.mybusiness.com/whmcs/oauth/authorize.php?
response_type=code&
redirect_uri=https%3A%2F%2Fwww.myapp.net%2Fopenid%2Fclient_login.php&
client_id=MY-BUSINESS.wJn%2Bp3Fjs9WU8ytfUVJ2eQ%3D%3D&
nonce=00241f1dc68d5b0f1b3ab511778cd781&
state=security_token%3Df40b21a2f93e4239ac11dea1987cc307%26url%3Dhttps%3A%2F%2Fwww.myapp.net%2Fopenid%2Fclient_login.php&
scope=openid%20profile%20email
I have SSL set up and working, WHMCS keys set up (if I provide a wrong key or id it does show an error), with correct redirect (if I set wrong redirect url, it shows an error)
But, with everything set up correctly, I get no response. Is there something that I am missing? I found the WHMCS documentation surprisingly lacking in any real information or help.
http://docs.whmcs.com/OpenID_Connect
http://docs.whmcs.com/OpenID_Connect_Developer_Guide
Has anyone else successfully got OpenID working with their WHMCS? After a lot of Google searching, I'm yet to find a single example, or any mention of anyone having used WHMCS OpenId at all. I know it's a new feature, but it seems like it would be really useful, to have an app using the login system of WHMCS instead of rolling my own for every single app. Does no one use this? Should I not be using it? Should I run my own OpenID provider server?