Configuring Okta for SAML in Posit Workbench

Posit Workbench is a registered application with Okta.

Configuring Application in Okta

  1. In Okta, navigate to Applications > Browse App Catalog and search for “Posit Workbench”.
  2. Click the Add Integration button to add the Posit Workbench app to your organization.
  3. Assign the users or groups that should have access to Workbench.
  4. Navigate to the Posit Workbench App > General tab.
  5. In the App Settings section, click Edit.
  6. Enter the base URL of your Workbench server in the Workbench Base URL field.
  7. Click Save.
  8. Navigate to the Posit Workbench App > Sign On tab.
  9. Under Sign on methods, select the SAML 2.0 option.
  10. Copy the Metadata URL value.
  11. Click Save.
  12. Follow the steps in the Configuring SAML section below to configure Workbench with the Okta metadata URL.

Notes

The following SAML attributes are supported:

Name Value
Username user.login

Configure Workbench

  1. Update the Workbench configuration file with the following:

    /etc/rstudio/rserver.conf
     auth-saml=1
     auth-saml-metadata-url=<Metadata-URL>
  2. Restart Workbench by running the following:

    Terminal
    sudo rstudio-server restart

Any user who has been given access via the Workbench app in Okta should now be able to log in.

Return to main SAML documentation

Back to top