Jump to content

External Admin Login

Recommended Posts


I'm trying to make a simple login that WHMCS administrators can use their credentials in. I've been searching through the docs and can only find ValidateLogin for clients, I then came across GetAdminDetails but that requires an API Identifier and Secret. I want to be able to use my same credentials that I log into the /admin/ area on this form. Is there an easy way of doing this or would I have to write a module/hook?


Share this post

Link to post
Share on other sites

getadmindetails won't work here, sadly.

The best approach is going to be wrapping your code around WHMCS and using sessions to validate whether they're already logged in as an admin user. Is there a specific reason you don't want to do this?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines