Community Discussion
Full authentication is required to access this resource
i am integrating create campaign api
Posted by Asm over 1 year ago
Trying to get my access Token via Password Credentials flow but receive error "false"
Hello,
As stated in the topic, I am trying to get the access token that will allow me to manipulate the Backstage API but when trying the Password Credentials flow I am receiving the error "False".
Here is the function to fetch the token:
const credentials = {
this is where my credentials are registered
}
function fetchTaboolaAccessToken() {
const options = {};
options.method = 'post';
options.headers = {
'Content-Type': '"application/x-www-form-urlencoded"'
};
options.body = {
client_id: credentials.client_id,
client_secret: credentials.client_secret,
username: credentials.username,
password: credentials.password,
grant_type: 'password'
};
const result = fetchUrl('https://backstage.taboola.com/backstage/oauth/token', options)
console.log("Result", result);
}
Can someone tell me what is wrong in my function for this error to be logged ?
jsdata_studio_connectorx-www-form-urlencodedoauth2client_credentials401google_scriptbasic_authenticationjavascriptfull_authentication
Posted by Alexandre Macrel about 2 years ago
Trying to access our Token using Flow 2 and recieve an error
Hi,
We are trying accessing our token in order to pull reporting data and recieve the following error:
<p>Probelm accessing / authentication/oauth/token. Reason:
<pre> Full authentication is required to acecess this resource </pre>
We've used Client id & Client secret, password and username and made the request with all the nessacery data. Could you please assist?
Thanks,
Yuval
Posted by Yuval Goldenberg about 2 years ago