Adding Github.com to Your PingOne for Enterprise Dock
Add the Github.com application your PingOne for Enterprise Dock from the application catalog.
Steps
-
In the PingOne for Enterprise admin console, go to Applications → Application Catalog.
-
Optional: In the Search field, search for the application.
-
Click the Github.com application line to expand it and then click Setup.
-
On the SSO Instructions tab, click Download to download the signing certificate.
-
In a separate tab or window, sign on to the Github.com admin portal.
-
In the Github admin portal, click your profile photo, then go to Enterprise Settings → Settings → Security.
-
Under SAML single sign-on, select the Enable SAML authentication check box.
-
In Github, enter the following information.
-
In the Sign on URL field, enter
https://sso.connect.pingidentity.com/sso/idp/SSO.saml2?idpid=<idpid>
, replacing <idpid> with the IdP ID value from PingOne for Enterprise. -
In the Issuer field, enter the Issuer value from PingOne for Enterprise.
-
In a plain text editor, open the PingOne for Enterprise signing certificate you downloaded in Step 4.
-
Copy the contents of the certificate (including the "Begin Certificate" and "End Certificate" lines) and paste it into the Public certificate field.
-
-
Click Test SAML configuration.
-
Click Save.
Next steps
In PingOne for Enterprise, click Continue to Next Step.
Github.com Connection Configuration
Steps
-
Import the metadata for Github:
Choose from:
-
Click Select File to upload the metadata file.
-
Click Or use URL to enter the URL of the metadata.
-
-
In the ACS URL field, enter the ACS URL value from Github.
The ACS URL will be in the format
https://<github hostname>/saml/consume
. -
In the Entity ID field, enter the SP Entity ID value from Github.
The entity ID will be in the format
https://<github hostname>
. -
In the Target Resource field, enter a URL to redirect the user to after IdP-initiated single sign-on (SSO).
-
In the Single Logout Endpoint field, enter a URL for PingOne to send single logout (SLO) requests to.
-
In the Single Logout Response Endpoint field, enter a URL for PingOne to send SLO responses to.
-
To add a Primary Verification Certificate, click Browse to locate and upload a local certificate file used to verify SLO requests and responses coming from Github.
-
To add a Secondary Verification Certificate, click Browse to locate and upload a local certificate used to verify SLO requests and responses if the primary certificate fails.
-
Select the Force Re-authentication check box to require your identity bridge to re-authenticate users with an active SSO session.
-
Select the Encrypt Assertion check box to encrypt outgoing SAML assertions.
-
On the Signing line:
Choose from:
-
Click Sign Assertion to have PingOne sign outgoing SAML assertions. This is the default option.
-
Click Sign Response to have PingOne sign responses to incoming SAML assertions.
-
-
From the Signing Algorithm list, select an algorithm with which to sign SAML assertions.
-
Select the Use Custom URL check box to enter a customer URL to launch Github from the dock.
-
Select the Set Up Provisioning check box to configure user provisioning to Github.
Next steps
Click Continue to Next Step.
Github.com Provisioning
Before you begin
Ensure that popups are permitted in your browser.
About this task
If you don’t need to set up user provisioning, proceed to Github.com Attribute Mapping. |
If you selected Set Up Provisioning on the Connection configuration tab:
Steps
-
In PingOne, clickContinue to Next Step.
-
In the BASE_URL field, enter you base URL.
The base URL format is
https://api.github.com/scim/v2/organizations/<organization name>
.For information on finding your organization name, see Accessing an organization in the Github documentation.
-
Generate and enter your OAuth access token.
-
Obtain your Github client ID and client secret.
For more information, see Obtain client ID and secret from Github in the Ping documentation.
-
Go to the Ping OAuth Configuration Service and generate your access token.
For more information about generating tokens, see Generate OAuth access tokens in the Ping documentation.
-
In PingOne, in the OAUTH_ACCESS_TOKEN field, enter your access token.
-
Next steps
Click Continue to Next Step.
Github.com Attribute Mapping
About this task
PingOne will automatically populate required SAML attributes.
For Github.com, the required attribute is SAML_SUBJECT
. Map this to the email address attribute.
If you enabled provisioning, the required provisioning attributes are:
-
userName
: Github’s unique identifier for the user. This attribute is mapped toEmail
by default. -
workEmail
: This attribute is mapped toEmail
by default. -
firstName
: This attribute is mapped toFirst Name
by default. -
lastName
: This attribute is mapped toLast Name
by default. -
externalID
: A string that identifies the resource in the provisioning client. This attribute is mapped toexternalID
by default.
Steps
-
To add an additional optional attribute, click Add new attribute.
-
In the Application Attribute field, enter the attribute name as it appears in the application.
-
In the Identity Bridge Attribute or Literal Value field, choose one of the following:
Choose from:
-
To map to the application attribute: Enter or select a directory attribute.
-
To assign to the application attribute: Select As Literal, then enter a literal value.
-
-
To create advanced attribute mappings, click Advanced.
For more information, see Create advanced attribute mappings.
Next steps
Click Continue to Next Step.
Github.com Customization
Steps
-
To change the application icon, click Select image and upload a local image file.
The image file must be:
-
PNG, GIF, or JPG format
-
312 x 52 pixels maximum
-
2 MB maximum file size
Images are scaled to 64 x 64 pixels for display.
-
-
To change the name of the application displayed on the dock, in the Name field, enter a new name.
-
To change the description of the application, in the Description field, enter the new description text.
-
To change the category to which the application is assigned on the dock, in the Category list, select a category.
For information about creating custom application categories, see Creating a custom application category.
Next steps
Click Continue to Next Step.
Github.com Group Access
About this task
The Group Access tab shows every user group that you have created.
For more information about creating user groups, see Add user groups.
Steps
-
To add a group’s access to the application, on the line for that group, click Add.
-
To remove a group’s access, on the line for that group, click Remove.
-
When you’re finished assigning groups, click Continue to Next Step.
Next steps
On the Review Setup tab, review your configuration, and click Finish to add the application to your PingOne Dock.