basic auth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystoneauth |
Confirmed
|
Wishlist
|
Unassigned | ||
python-keystoneclient |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Keystone now supports external authentication by embedding keystone within apache and enabling apache authentication modules. Unfortunately, the vast majority of them do not seem to work due to requiring basic auth credential passing which python-
Something like the following has allowed basic auth plugins to work for me under the keystone and heat cli's. I'm guessing other api versions will need a similar change.
--- /usr/lib/
+++ /usr/lib/
@@ -12,6 +12,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
+import base64
import logging
from keystoneclient import exceptions
@@ -178,6 +179,7 @@
params = {"auth": {"token": {"id": token}}}
elif username and password:
+ headers[
params = {"auth": {"passwordCrede
else:
affects: | keystone → python-keystoneclient |
Changed in python-keystoneclient: | |
importance: | Undecided → Wishlist |
Changed in python-keystoneclient: | |
status: | New → Confirmed |
Changed in python-keystoneclient: | |
status: | Confirmed → Invalid |
Changed in keystoneauth: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |