Jump to content

spalx

Member
  • Posts

    5
  • Joined

  • Last visited

About spalx

spalx's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. 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: https://www.mydomain.com/oauth/singlesignon.php?client_id=IDHERE&response_type=code&scope=clientarea:profile&redirect_uri=RETURNURI&state=2j1d98183eh72w8h1e 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.
  2. I`ll need to do that as well, but my idea is the portal to be accessible at domain.com/billing and not domain.com/billing/ as that will force me to make changes to the structure of the website as well as the stylesheets (as this will be a subdirectory, i will need to change the paths of the images, etc.). Thanks for the reply though ... i have more questions to come
  3. Hi guys, i`m a bit new to whmcs so i hope i havent missed the answer to my question in the KB. I need to integrate the portal inside my company's website. WHMCS is installed inside a directory and when i try to include the index.php file from the main directory, i get only the "Powered by WHMCompleteSolution" text, am i missing something ? The idea is to access the portal while inside the main directory, so i dont have to move it out of the directory. Hope i was clear enough
×
×
  • 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