Foreman should support HTTP Authentification
It would be great to allow HTTP Authentification in Foreman
(for instance to allow things like WebSSO with LemonLDAP::NG).
Thx in advance.
#3 Updated by Ken Barber over 7 years ago
I've tested this patch on 0.4 and it seems to work sufficiently okay. The edge cases aren't covered such as:
- If the auth succeeds but the user doesn't exist, the error is not graceful.
- It may be that someone wants the user to get created in the case of a user not existing in the INTERNAL_DATABASE.
Otherwise its a great start. Thanks Romain :-).
Sample apache config:
AuthName "Restricted Files"
#6 Updated by Romain Vrignaud over 7 years ago
- File 0001-fixes-1300-Add-support-of-HTTP-Auth-with-REMOTE_USER.patch 0001-fixes-1300-Add-support-of-HTTP-Auth-with-REMOTE_USER.patch added
Patch in git patch mode