Project

General

Profile

Actions

Bug #19569

closed

Cannot register a client with a normal user

Added by Justin Sherrill almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Pgagne, discovered that with this plugin installed, you can no longer register any system with a normal user (admin or otherwise). I do not believe this is intentional.

This seems to be with how the BasicWithHidden SSO module is being used:

https://github.com/theforeman/foreman_virt_who_configure/blob/29a524a1349b1b0f0b8bb2083cafad1ff323ea75/app/services/sso/basic_with_hidden.rb#L4

Steps to reproduce:

Install foreman with the katello and foreman_virt_who_configure plugins
Try to register any client with the 'admin' user (or any other user)

Results:
Unauthorized: Invalid credentials for request.

Note you can also reproduce by simply running:

curl https://hostname.example.com/rhsm/users/admin/owners  -X GET -u admin:changeme

Related issues 1 (0 open1 closed)

Related to virt-who configure - Refactor #19753: Move service users to core and avoid the hackish authentication methodClosedActions
Actions

Also available in: Atom PDF