I am trying to send Webhook Notifications about the job completion from AWX to MS Teams. I am able to do this using Python requests by specifying required credentials (username, password) as HTTPBasicAuth values.
How can i specify the Authentication value in the AWX Webhook Notification headers or translate the credentials into the required format?
If teams is doing basic auth you can construct the authorization header yourself and pass it in. The basic auth header would look like:
Authorization: Basic
Where the encoded cred is a base64 encoding of “username:password”. There are some online tools for doing this or, if you have working python code with requests, you should be able to have requests dump out the encoded header for you.