Rundeck PRO can be configured to work with the Okta security platfom.
To configure the Okta SSO plugin for your Rundeck installation you will need to add a new application to your Okta Applications, and then add some properties to your rundeck-config.properties file.
Log into your Okta web portal and configure a new application.
Login Redirect URIs
(you can add more than one): <rundeck base url>/user/oauth/okta
. Example: http://localhost:4440/user/oauth/okta
ID Token
with Userinfo/id_token_request
Groups
Once you’ve set up the application in Okta you can configure Rundeck to use that application.
Add the following properties to your rundeck-config.properties file:
#Enable the OAuth SSO feature
rundeck.security.oauth.enabled=true
#The first two come from the Client Credentials section on your Application configuration page in Okta
rundeck.security.oauth.okta.clientId = (Okta Client ID)
rundeck.security.oauth.okta.clientSecret = (Okta Secret Key)
#This group of properties requires you to replace the <okta service url> with the url provided by Okta for making api authorization calls
#<okta service url> might look something like: https://dev-877856.oktapreview.com/oauth2/default
#In your Okta web portal check API/Authorization Servers/Settings/Issuer to get this value
rundeck.security.oauth.okta.accessTokenUri = <okta service url>/v1/token
rundeck.security.oauth.okta.userAuthorizationUri = <okta service url>/v1/authorize
rundeck.security.oauth.okta.userInfoUri = <okta service url>/v1/userinfo
#Copy These verbatim
rundeck.security.oauth.okta.clientAuthenticationScheme = form
rundeck.security.oauth.okta.scope = openid profile email
#These properties control the appearance and url of the button on the login page
rundeck.sso.loginButton.enabled=true
rundeck.sso.loginButton.title=Login with Okta
rundeck.sso.loginButton.url=oauth/okta
After completing the configuration of your rundeck-config.properties file, restart Rundeck.
If you have successfully configured Okta and Rundeck you will see a new button on the rundeck login page that says Login with Okta. By clicking this button you will be redirected to an Okta Login form that will be used to collect the user credentials. Once you have logged in with your Okta credentials you will be redirected back to the home menu page in Rundeck.
Congratulations, you now have a working Okta/Rundeck SSO setup.