Jump to content

How can I login WHMCS in an other domain, then redirect to WHMCS clientarea?


malin

Recommended Posts

Hi, friends:

I have a `b.example.com`  for display my website, and I have a requirement, in it there is a login form,  I want use my whmcs(exapmle.com)'s login API, when login success, it will transfer to `example.com`.

How can we do this? 

I searched the API index, find a API named [Validate Login](https://developers.whmcs.com/api-reference/validatelogin/), I am not sure whether is this for I use in my `b.example.com` to login clients.

So I checked it, there get 403 Forbidden error.

 

Request General:

  1. Request URL:
  2. Request Method:
    POST
  3. Status Code:
    403 Forbidden
  4. Remote Address:
    15.11.42.58:80
  5. Referrer Policy:
    no-referrer-when-downgrade
 
 

Request Form data:

 

  1. action:
    ValidateLogin
  2. email:
    726gg35611@gmail.com
  3. password2:
    123456
  4. responsetype:
    json
 

and my example is with CDN on it.

Edited by malin
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.

Guest
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