Skip to content

Configuring OneLogin for SAML in RStudio Workbench#

RStudio Workbench, formerly RStudio Server Pro1, is a registered app with OneLogin, so RStudio Workbench configuration is very simple if you use OneLogin for single sign on (SSO).

Configuration Steps#

  1. Navigate to your OneLogin administrator portal.
  2. Under the Applications tab, in the upper right corner, click New App.
  3. Search for and select on RStudio Server Pro (not RStudio Connect).
  4. Add the required configuration details (Display Name, Description, etc.) and click Save.
  5. Under the Configuration tab, add the address of your RSP server excluding:

    • http/https
    • no trailing slash

    For example, if the server URL is https://rstudio.example.com/, then you would use rstudio.example.com.

  6. Under the SSO tab, copy the Issuer URL.

  7. Under the Access tab, add any users you wish to have access to RSP.
  8. Update the RStudio Workbench configuration file with the following:

    File: /etc/rstudio/rserver.conf
    auth-saml=1
    auth-saml-metadata-url=<Issuer URL from step 6>
    

  9. Restart RSP by running the following:

    Terminal
    sudo systemctl restart rstudio-server
    

Any user who has been given access via OneLogin and has been provisioned on the RStudio Workbench server, should now be able to login.


  1. We have renamed RStudio Server Pro to RStudio Workbench. This change reflects the product’s growing support for a wide range of different development environments. RStudio Workbench enables R and Python data scientists to use their preferred IDE in a secure, scalable, and collaborative environment -- whether that is the RStudio IDE, JupyterLab, Jupyter Notebooks, or VS Code. We want RStudio Workbench to be the best single platform to support open source, code-first data science, whether your team is using R or Python. Please see our official Announcement and review our FAQ regarding the name change from RStudio Server Pro to RStudio Workbench.