Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving 401 Unauthorized when using Notification Template #10518

Closed
strollo opened this issue Jun 25, 2021 · 1 comment
Closed

Receiving 401 Unauthorized when using Notification Template #10518

strollo opened this issue Jun 25, 2021 · 1 comment
Labels

Comments

@strollo
Copy link
Contributor

strollo commented Jun 25, 2021

ISSUE TYPE
  • Bug Report
SUMMARY

Access to webhook external APIs for notifications no more working after migration from AWX 17 to AWX 19.2.0

ENVIRONMENT
  • AWX version: 19.2.0
  • AWX install method: docker on linux
  • Ansible version: 2.12.0.dev0
  • Operating System: CentOS Linux 8
  • Web Browser: Chrome
STEPS TO REPRODUCE

Webhook to Cisco Webex message system (https://webexapis.com/v1/messages) that via curl perfectly works via OAuth, configuring Notification Template with empty Username and Basic Auth Pass and having in header info for authorization,

{"Content-Type":"application/json","Authorization":"Bearer <THE TOKEN>"}

The response from the APIs is Unauthorized 401 similarly to a curl without --header 'Authorization: Bearer <THE TOKEN>'

EXPECTED RESULTS

That works like before in AWS Tower 17

ACTUAL RESULTS
ADDITIONAL INFORMATION
@strollo
Copy link
Contributor Author

strollo commented Jul 1, 2021

Opened a pull request #10566

@strollo strollo closed this as completed Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants