Important: This article contains out-of-date information. For current application information, see Connecting Applications with JumpCloud Using Pre-Built Connectors.
- Generate a public certificate and private key pair.
- In order to successfully complete the integration between JumpCloud and Heroku, you must use an administrator account in Heroku.
- How to configure User authorization.
- SAML 2.0 Just-In-Time (JIT) user provisioning is supported by Heroku.
- Users who already have a Heroku account prior to attempting SSO for the first time will be prompted to upgrade their authentication mechanism to SSO. Once users have upgraded to SSO, they can no longer sign in to Heroku using their personal credentials (they must use SSO).
Configure the JumpCloud SSO Application
- Access the JumpCloud Administrator Console at https://console.jumpcloud.com.
- Select Applications in the main navigation panel.
- Select the + in the upper left, scroll or search for the application in the 'Configure New Application' side panel, the select 'configure'.
- You can upload a service provider application's XML metadata file to populate SAML connector attributes for that application. The attributes populated by the metadata file may vary by the application. To apply a metadata file for the application you're connecting, click Upload Metadata. Navigate to the file you want to upload, then click Open. You'll see a confirmation of a successful upload. Be aware that if you upload more than one metadata file, you'll overwrite the attribute values applied in the previously uploaded file.
- In the IDP Entity ID field, enter
- Select Upload IdP Private Key and upload the private.pem file generated according to the above prerequisites.
- Select Upload IdP Certificate and upload the cert.pem file generated according to the above prerequisites.
- In the SP Entity ID field, enter
https://sso.heroku.com/saml/ORG_NAME(replace ORG_NAME with the name of your organization in Heroku for which you are configuring SSO).
- In the ACS URL field, enter
https://sso.heroku.com/saml/ORG_NAME/finalize(replace ORG_NAME with the name of your organization in Heroku for which you are configuring SSO).
- In the field terminating the IdP URL, either leave the default value or enter a plaintext string unique to this connector.
- (Optional) In the Display Label field, enter a label that will appear under the Service Provider logo within the JumpCloud User console.
- Select Activate.
Configure the Service Provider
- Log in to Heroku as an administrator.
- Navigate to the homepage of the organization for which you want to configure SSO (ex:
- Select Settings.
- In the Single Sign-On (SSO) section, select Add Metadata Manually…
- In the Identity Provider (IdP) Issuer URL field, enter
https://YOURDOMAIN.com(this should be the same URL you used while configuring JumpCloud).
- In the IdP Login Redirect URL field, enter the same IdP URL that you set in the JumpCloud console (if you did not modify the termination of this URL, then enter the default URL:
- In the IdP Certificate field, paste the entire contents of your public certificate.
- Select Save.
Validate SSO authentication workflows
- Access the JumpCloud User Console at https://console.jumpcloud.com.
- Select the Service Provider icon.
- This should automatically launch and login to the application.
- 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.