Bug #19569
closedCannot register a client with a normal user
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:
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
Updated by The Foreman Bot over 7 years ago
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/60 added
Updated by Marek Hulán over 7 years ago
- Translation missing: en.field_release set to 259
Thanks for detailed report. Somehow I didn't receive email notification for this issue and found it today. I sent a workaround but the whole authentication hack should be removed in future and service users should be introduced in core. Reported as #19753
Updated by Marek Hulán over 7 years ago
- Related to Refactor #19753: Move service users to core and avoid the hackish authentication method added
Updated by Marek Hulán over 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_virt_who_configure|037f7bb12625b13e2094893930ad2b893667e901.