Apache Guacamole — AWS SAML Authentication and Authorisation

Gandhar Tandale
3 min readSep 4, 2023

--

By the end of this article, you’ll be able to configure a custom SAML application in AWS IAM Identity Center to allow users to authenticate to Apache Guacamole using their AWS IAM identities. You’ll also be able assign permissions to groups to authorise the users to administer Guacamole, access and create connections

Create a Custom SAML 2.0 Application

Pre-requisites: You have enabled AWS Organizations for your account and have configured an Identity source

  • Navigate to IAM Identity Center and under Application assignment, click on Applications
  • Add a new Custom SAML 2.0 Application
  • Once your SAML application has been created, edit its attribute mappings
  • Grant users/groups access to the application.
  • The SAML application should now be visible under your organization’s SSO page. Only the users/groups granted access in the previous step would be able to see them on their SSO login page.

Guacamole Configuration

<saml2:Attribute Name="groups" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xsd:string"
>01132d4a-60d1-7032-befb-96e91e89c54c</saml2:AttributeValue>
</saml2:Attribute>
  • In order to configure permissions for all the users belonging to the “guac-admins” group, create a group in Guacamole with its GUUID as shown below

--

--

Responses (1)