Use JumpCloud SAML Single Sign On (SSO) to give your users convenient but secure access to all their web applications with a single set of credentials.
Read this article to learn how to integrate with MuleSoft Anypoint Platform.
Prerequisites
- A JumpCloud administrator account
- JumpCloud SSO Package or higher or SSO à la carte option
- A MuleSoft Anypoint Platform user account with Organization Administrator permissions
- Your MuleSoft Anypoint Platform Organization name
Creating a new JumpCloud Application Integration
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications.
- Click + Add New Application.
- Type the name of the application in the Search field and select it.
- Click Next.
- In the Display Label, type your name for the application. Optionally, you can enter a Description, adjust the User Portal Image and choose to hide or Show in User Portal.
If this is a Bookmark Application, enter your sign-in URL in the Bookmark URL field.
- Optionally, expand Advanced Settings to specify a value for the SSO IdP URL. If no value is entered, it will default to https://sso.jumpcloud.com/saml2/<applicationname>.
The SSO IdP URL is not editable after the application is created. You will have to delete and recreate the connector if you need to edit this field at a later time.
- Click Save Application.
- If successful, click:
- Configure Application and go to the next section
- Close to configure your new application at a later time
Configuring the SSO Integration
To configure JumpCloud
- Create a new application or select it from the Configured Applications list.
- Select the SSO tab.
- Replace any instances of YOUR_ORGANIZATION with your MuleSoft organization name.
- Add or change any desired attributes.
- Click save.
Download the certificate
- Find your application in the Configured Applications list and click anywhere in the row to reopen its configuration window.
- Select the SSO tab and click IDP Certificate Valid > Download certificate.
The certificate.pem will download to your local Downloads folder.
To configure Mulesoft AnyPoint Platform
- Log in to Anypoint Platform using an account that has the Organization Administrator permission.
- In the navigation bar or the main Anypoint Platform page, click Access Management.
- In the Access Management navigation menu, click Identity Providers.
- Select Identity Providers > SAML 2.0.
- In the Configurations tab, complete the required fields of the Identity Management SAML 2.0 form:
- Sign On URL - enter the JumpCloud IDP URL
- Sign Off URL - enter https://console.jumpcloud.com/userconsole
- Issuer - enter the JumpCloud IdP Entity ID
- Public Key - copy and paste the contents of the certificate downloaded in the previous section
- Audience - enter the JumpCloud SP Entity ID
- Single Sign-On Initiation:
- The Service Provider Only option allows only the Anypoint Platform to initiate SSO.
- The Identity Provider Only option allows only your external identity provider to initiate SSO.
- The Both option allows either Anypoint Platform or your external identity provider to initiate SSO. The default value for this setting for newly configured identity provider configurations is Both.
- Optionally, expand Advanced settings, and provide the following values:
- Username Attribute - Field name in the SAML
AttributeStatements
that maps to username. If no value is configured, theNameID
attribute of the SAMLSubject
is used (Note: this is outside the SAMLAttributeStatements
). - First Name Attribute - Field name in the SAML
AttributeStatements
that maps toFirst Name
. - Last Name Attribute - Field name in the SAML
AttributeStatements
that maps toLast Name
. - Email Attribute - Field name in the SAML
AttributeStatements
that maps toEmail
. - Group Attribute - Field name in the SAML
AttributeStatements
that maps toGroup
. - Require encrypted SAML assertions - If enabled, the SAML assertions sent from the IdP must be encrypted and follow the guidelines mentioned in the Prerequisites.
- Username Attribute - Field name in the SAML
- Click Create.
Using JIT Provisioning
Additional attributes are required to use JIT provisioning. JIT required attributes are prepopulated and are on by default to enable JIT provisioning. You can’t edit the JIT required service provider attributes. You can customize the JumpCloud attribute name and the constant value for JIT required attributes. Toggle off the attributes to opt out of sending the attributes in the SAML assertion
To complete the provisioning process
- Authorize a user’s access to the application in JumpCloud.
- Have the user log in to the application using SSO. The SAML assertion passes from JumpCloud to the service provider, and gives the service provider the information it needs to create the user account.
Authorizing User SSO Access
Users are implicitly denied access to applications. After you connect an application to JumpCloud, you need to authorize user access to that application. You can authorize user access from the Application Configuration panel or from the Groups Configuration panel.
To authorize user access from the Application Configuration panel
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications, then select the application to which you want to authorize user access.
- Select the User Groups tab. If you need to create a new group of users, see Get Started: User Groups.
- Select the check box next to the group of users you want to give access.
- Click save.
To learn how to authorize user access from the Groups Configuration panel, see Authorize Users to an SSO Application.
Validating SSO user authentication workflow(s)
IdP-initiated user workflow
- Access the JumpCloud User Console
- Go to Applications and click an application tile to launch it
- JumpCloud asserts the user's identity to the SP and is authenticated without the user having to log in to the application
SP-initiated user workflow
- Go to the SP application login - generally, there is either a special link or an adaptive username field that detects the user is authenticated through SSO
This varies by SP.
- Login redirects the user to JumpCloud where the user enters their JumpCloud credentials
- After the user is logged in successfully, they are redirected back to the SP and automatically logged in
Removing the SSO Integration
These are steps for removing the integration in JumpCloud. Consult your SP's documentation for any additional steps needed to remove the integration in the SP. Failure to remove the integration successfully for both the SP and JumpCloud may result in users losing access to the application.
To deactivate the SSO Integration
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications.
- Search for the application that you’d like to deactivate and click to open its details panel.
- Select the SSO tab.
- Scroll to the bottom of the configuration.
- Click Deactivate SSO.
- Click save.
- If successful, you will receive a confirmation message.
To delete the application
- Log in to the JumpCloud Admin Portal.
- Go to USER AUTHENTICATION > SSO Applications.
- Search for the application that you’d like to delete.
- Check the box next to the application to select it.
- Click Delete.
- Enter the number of the applications you are deleting
- Click Delete Application.
- If successful, you will see an application deletion confirmation notification.