Jump to content

Search the Community

Showing results for tags 'oauth'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The Latest WHMCS Release
    • WHMCS 8.13 Release Discussion Board
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
    • MarketConnect Partner Product Status Updates
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics
  • RactStudio Club's Topics

WHMCS Version

  • V8.13.x Hotfixes
  • V8.12.x Hotfixes
  • V8.11.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 3 results

  1. 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?
  2. I am facing an issue with the OpenIDConnect. I am using WordPress as the OIDC client using this plugin. I am sending the Authorization request, it prompts me for the login. I was able to login with my credentials, but I'm facing some issue. After login in WHMCS, it seems to redirect to authorize endpoint again. That time, it's not picking the domain name of WHMCS, it's just redirecting to authorize endpoint's path. ie. https://oauth/authorize.php instead of https://whmcs.ppa.group/oauth/authorize.php. The support team suggested that I check the Authorization URL. The authorization URL is - https://whmcs.ppa.group/oauth/authorize.php?client_id=PPA-GROUP.j0uYaMB7%2FnNzc0KCxtAhDA%3D%3D&scope=openid%20profile%20email&redirect_uri=https://ppa.group&response_type=code&state=T0F1dGg= Any help regarding this would be greatly appreciated.
  3. I'm attempting to utilise single sign on in WHMCS, but get a PDO error "Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null' in /whmcs/vendor/illuminate/database/Connection.php:444". I have the correct request parameters as described here: http://docs.whmcs.com/API:CreateOAuthCredential. The params I'm using are: username:xxxxxxxx password:xxxxxxxxx action:CreateOAuthCredential grantType:single_sign_on scope:clientarea:sso clientarea:profile description:Test SSO serviceId:<USER ID HERE> responsetype:json I put some logging in Connection.php and it appears WHMCS is attempting to insert into `tbloauthserver_clients`, but there is no user_id. How do I pass user_id as a parameter? What am I doing wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated