Hi,
I try to use the API REST authenticationstokens with a "Windows user" authentication (OAuth)
function authentication() {
url: "https://*******/REST/server/authenticationtokens",
type: "POST",
timeout: 0,
headers: {
"Accept": "application/json;odata=verbose",
},
data: JSON.stringify({
"Username": "username@domain.ext",
"Password": "***********",
"Domain" : "domain.ext",
"VaultGuid": <vault GUID without braces>
"sessionID": <a random GUID>,
"Expiration": "2040-01-01T23:59:00Z"
}),
});
My problem is that it gives me a 403 error when I use this token is an another API REST