Skip to main content

Vmanage authentication

Background

All interactions with vmanage require a valid token which is dynamically generated during the user login process. This workflow is to retrieve the token for further operations against a vmanage by mimic the user login.

Inputs

  • Vmanage username
  • Vmanage password

Output

A valid return should contain both JSESSIONID and X-XSRF-TOKEN whose values are changing each time.

[
{
"auth_success": true,
"JSESSIONID": "JSESSIONID=27EX7Wy3vdChNnoz4c-b8L6KIJF7HWvZuwiSNCP-.d9a48f51-9796-47ca-b438-b444bb0bb943",
"X-XSRF-TOKEN": "A271521C1FFD610F3BDC0DC404BB83A591CA3E3722E01DA2E9D0ECF4C779D89671B34F14037E19B54BDB2270F5457C90B000",
"headers": {
"cache-control": "no-cache, no-store, must-revalidate",
"x-xss-protection": "1; mode=block",
"pragma": "no-cache",
"x-frame-options": "DENY",
"date": "Fri, 19 Jan 2024 01:12:18 GMT",
"vary": "Accept-Encoding",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"content-type": "application/json",
"server": "svcproxy",
"connection": "close",
"transfer-encoding": "chunked"
},
"statusCode": 200,
"statusMessage": "OK"
}
]

Workflow