Jump to content

Single Sign On help


Recommended Posts

Hi guys,

I've been trying to generate a single signon request in whmcs using Oauth2, hence as i am new to this, i have been hitting a new brick wall with every request. I contacted support and they adviced me to use oauth/singlesignon.php which doesnt even exist in the docs and i have no idea what to send to that file. The standard client_id, request_type, scope, etc. request doesnt work or at least i get nothing in return. I have created a user/secret combo with a CreateOAuthCredential API call, and here is what i've been sending so far:


This returns an empty json response. If i send the request towards oauth/authorize.php i get "The grant type is unauthorized for this client_id". Can you please give me a hint at what i'm doing wrong or at least point me in the right direction ? Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • 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