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 configure the Amazon Cognito User Pools (Amazon Cognito) connector.
Prerequisites
- A JumpCloud administrator account
- JumpCloud SSO Package or higher or SSO add-on feature
- An administrator account in Amazon Cognito
- Your User Pool ID, subdomain and region
- Before you configure your identity pool to support a SAML provider, first configure the SAML IdP in the IAM console. For more information, see Integrating third-party SAML solution providers with AWS in the IAM User Guide.
- To define roles for Amazon Cognito, create JumpCloud User Groups for each role that needs access to Amazon Cognito. Then authorize these groups to access the application by following the steps in Authorize User Access. The groups and roles are sent to Amazon Cognito in the SAML assertion. When a user from one of the authorized groups accesses Amazon Cognito, they gain access based on the role assigned to their group.
- This application only supports SP-initiated authentication.
Creating a new JumpCloud Application Integration
- Log in to the JumpCloud Admin Portal.
- Navigate 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.
- 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_SUBDOMAIN, YOUR_REGION, and YOUR_USER_POOL_ID with your values.
- In Login URL, enter the login URL needed for your users.
- Add any desired attributes.
- Optionally, select the Include Groups check box to include groups.
- Click save.
Download the JumpCloud metadata file
- 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 Export Metadata.
- The JumpCloud-<applicationname>-metadata.xml will be exported to your local Downloads folder.
Metadata can also be downloaded from the Configured Applications list. Search for and select the application in the list and then click Export Metadata in the top right corner of the window.
To configure Amazon Cognito
- Log in to the AWS Management Console as an administrator.
- Go to Services > Security, Identity, & Compliance > Cognito.
- Click Manage User Pools, then Create a user pool.
- Enter a name for the Pool Name.
- Click Review Defaults, then Create Pool.
- On the left side, select Domain name.
- Enter an available domain prefix, then save it.
- On the left side, choose Identity provider.
- Select SAML.
- Upload the JumpCloud metadata file, name it, then click Create Provider.
- Under Federation, select Attribute mapping.
- Add the required email attribute and any additional user attributes.
- Click Save changes.
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.
Validate SSO Authentication Workflows
This connector only supports SP initiated authentication workflows.
To validate SP initiated SSO authentication workflows
- Navigate to your Service Provider application URL.
- You will be redirected to log in to the JumpCloud User Portal.
- The browser will be redirected back to the application and be automatically logged in.
Removing 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.