rundeck
rundeck copied to clipboard
nginx example with pre_auth headers
Using rundeck 3.4.9. I have nginx working with spnego. I am able to get the username in remote_user. However, how can I pass these credentials to rundeck? I am using https://docs.rundeck.com/docs/administration/security/authentication.html#preauthenticated-mode-using-headers. So, I set
rundeck.security.authorization.preauthenticated.enabled=true
rundeck.security.authorization.preauthenticated.attributeName=REMOTE_USER
rundeck.security.authorization.preauthenticated.delimiter=,
rundeck.security.authorization.preauthenticated.userNameHeader=REMOTE_USER
rundeck.security.authorization.preauthenticated.userRolesHeader=X-Forwarded-Roles
#sync user info headers
rundeck.security.authorization.preauthenticated.userSyncEnabled=true
#these are the default headers for passing user details
rundeck.security.authorization.preauthenticated.userFirstNameHeader=X-Forwarded-User-FirstName
rundeck.security.authorization.preauthenticated.userLastNameHeader=X-Forwarded-User-LastName
rundeck.security.authorization.preauthenticated.userEmailHeader=X-Forwarded-User-Email
But rundeck is keep asking me to authenticate.
Any idea on how to pass the credentials with nginx?
Did you ever figure this out?
nope