Better error message when Basic authentication is disabled #14790
Labels
community
component:api
component:awx_collection
issues related to the collection for controlling AWX
type:bug
Please confirm the following
security@ansible.com
instead.)Bug Summary
Show meaningful message when trying to use Basic authentication but unable to authenticate because it's disabled in Controller settings.
AWX version
23.2.0
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
2.14.2
Operating system
Red Hat Enterprise Linux release 9.1 (Plow)
Web browser
Chrome
Steps to reproduce
Disable Basic authentication in AAP settings. Try to use one of ansible.controller modules specifying username and password, for example:
Expected results
Meaningful error message saying "failed to authenticate" or "incorrect credentials" or "unable to use specified authentication method".
Actual results
Exception that doesn't help to understand what failed.
Additional information
No response
The text was updated successfully, but these errors were encountered: