Overview
This guide will help you to create a Single Sign On (SSO) link for Virtualizor Servers.
HTTP Request
https://hostname:4085/index.php?act=sso
Parameters
Name | Type | Value | Description | Required |
---|---|---|---|---|
act | GET | sso | The act that has to be carried out to get SSO link | Yes |
Sample Code
PHP
<?php
include_once('/usr/local/virtualizor/sdk/admin.php');
$key = 'API_KEY';
$pass = 'API_PASS';
$ip = 'YOUR_IP';
$admin = new Virtualizor_Admin_API($ip, $key, $pass);
$output = $admin->sso();
?>
OUTPUT
https://your_hostname:4085/sessv5pabQqz3RtLKE1U/?as=A1Z8abFORjmHYH88S3GZ5B4dYOacUlH3