Bearer added in header for access token

Hi,
We are on 8.1p5 and when I am using header value as $application.accesstoken$ a string bearer is added by the connector by default. I don’t want to add bearer to the token, how it can be skipped? is it a bug which is solved in later versions.

One way to handle this would be to use No Authentication in Web Service Connector and write a method that can be used to get the session token before each call

//get sessionToken
String sessionToken = getSessionToken();
requestEndPoint.addHeader("Authorization", sessionToken);

You can add things like this in the Application object : “entry key=“oauth_headers_to_exclude” value=“Authorization”

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.