rundeck icon indicating copy to clipboard operation
rundeck copied to clipboard

nginx example with pre_auth headers

Open keith6014 opened this issue 3 years ago • 2 comments

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?

keith6014 avatar Jan 15 '22 21:01 keith6014

Did you ever figure this out?

bradleydamato avatar Nov 07 '22 19:11 bradleydamato

nope

keith6014 avatar Jan 22 '24 12:01 keith6014