Skip to content

Commit

Permalink
Merge branch 'ext_auth_secure_user' into '5.12.z'
Browse files Browse the repository at this point in the history
Fixes an issue with external authentication for API requests

See merge request cloudforms/cfme-appliance!14

(cherry picked from commit 897f26b)
  • Loading branch information
Fryguy committed Aug 7, 2020
1 parent cf4f17c commit 80a74a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TEMPLATE/etc/httpd/conf.d/manageiq-remote-user-openidc.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
RequestHeader unset X-REMOTE-USER
RequestHeader unset X-REMOTE_USER
RequestHeader unset X_REMOTE-USER
RequestHeader unset X_REMOTE_USER

RequestHeader set X_REMOTE_USER %{OIDC_CLAIM_PREFERRED_USERNAME}e env=OIDC_CLAIM_PREFERRED_USERNAME
Expand Down
3 changes: 3 additions & 0 deletions TEMPLATE/etc/httpd/conf.d/manageiq-remote-user.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
RequestHeader unset X-REMOTE-USER
RequestHeader unset X-REMOTE_USER
RequestHeader unset X_REMOTE-USER
RequestHeader unset X_REMOTE_USER

RequestHeader set X_REMOTE_USER %{REMOTE_USER}e env=REMOTE_USER
Expand Down

0 comments on commit 80a74a8

Please sign in to comment.