Forum Discussion
Refresh Token in Webhook Campaign
I managed to find a workable solution, and so am posting it here for others in case they find it helpful.
If there is a better way, please let me know.
In going through the other webhook templates, it seems that this can be managed via using Connected Content directly in the Header for the value of the Authorization field in the form of:
Bearer {% connected_content https://sample_api_website/token?grant_type=password&client_id=1234&client_secret=5678&username=user1&password=pass1 :method post :cache_max_age 900 :save token_response %}{{token_response.access_token}}
I'm not happy with the credentials being visible here and so an still investigating that. The Connected Content Credentials seems limited to username and password and don't support client_id and secret.
But please somebody let me know if I'm missing something.
Related Content
- 2 years ago
- 7 months ago
- 5 months ago
- 7 months ago