cancel
Showing results for 
Search instead for 
Did you mean: 

REST Polling: OAuth 2.0 - Token - change default Header http parameter

mdejesus
Participant
0 Kudos

Dear Experts,

I have a scenario where we need to pull information from ServiceNow using REST and authentication is basic + specific parameter for the token dynamic token.

We used REST Sender Polling channel and enable OAuth to get the token in addition to the basic authentication (user/Password).

Our issue is that the default HTTP header for token is "Authorization: Bearer <access_token>" and we need to change it to a more specific parameter "Specific_parameter : <access_token>".

Is there a way to do this without mapping involved? Like any standard adapter module that we can readily use.

Here is our full scenario for reference

Note: No Client ID/Client Secret is required

HTTP Request tab contains the actual URL for pulling the data. (POST is required instead of GET)

If we can't find solution to replace the default header parameter for token, then we need to do it a bit more complex which will include mapping objects and dynamic configurations

Thanks in advance!

Many thanks!

Best regards,

Marc

mdejesus
Participant
0 Kudos

If we can't find solution to replace the default header parameter for token, then we need to do it a bit more complex which will include mapping objects and dynamic configurations

Accepted Solutions (0)

Answers (0)