Red Hat Bugzilla – Bug 817946
API not accessible from browser
Last modified: 2013-02-21 14:15:46 EST
Description of problem:
At least using firefox and chrome, I can't access API URLs which require authentication, I think because the katello web server doesn't send an www-authenticate header, and therefore the browser doesn't prompt for or send credentials.
Version-Release number of selected component (if applicable):
Don't know which component to report version of, but I just installed it today (1-may-2012)
Steps to Reproduce:
Try the following URLs:
https://hostname/headpin/api/systems fails ("Invalid credentials")
https://admin:admin@hostname/headpin/api/systems fails ("Invalid credentials"), at least in chrome and firefox
$ curl -k -u admin:admin https://hostname/headpin/api/systems works
All expected to work
Thank you for your bug report. This issue was evaluated for inclusion
in the current release of Subscription Asset Manager (SAM). Unfortunately,
we are unable to address this request. Because we are in the final stages
of development in the current release, only significant, release-blocking
issues involving serious regressions and data corruption can be considered.
If you believe this issue meets the release blocking criteria as defined and
communicated to you by your Red Hat Support representative, please ask
your representative to file this issue as a blocker for the current release.
Otherwise, ask that it be evaluated for inclusion in the next release of SAM.
related to bug https://bugzilla.redhat.com/show_bug.cgi?id=804661
merged fix in commit:
As per comment #7, this has been verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.