GitHub
Managed just-in-time access for GitHub organization teams
This page documents how to install P0 to a GitHub organization, allowing you to use P0 to manage access to teams within that organization. Users can request temporary access to a team, and P0 will automatically manage adding users to that team, and removing users when their access expires.
Prerequisites
GitHub organization.
Permission to install GitHub apps to that organization.
An Okta directory listing integration must already be installed.
The Okta directory is used to map your users to their GitHub usernames.
Okta directory is currently the only supported mechanism for this.
Set up the GitHub integration
Currently, P0 can only be installed to a single GitHub organization at a time.
Open the P0 dashboard at p0.app and log in to your org.
In the sidebar, click Integrations. Under Resources, click GitHub.
Click the Install integration button. You will be redirected to GitHub's website.
On the selector page, select the GitHub organization to install P0 in.
You must select an organization. Selecting a user will result in an error.
Review the permissions required by the P0 GitHub app and select Install.
GitHub may require you to authenticate to authorize the installation
After a moment, you will be redirected back to the P0 dashboard and shown a "Finish installation" page. Here, enter the name of the user profile attribute in Okta where P0 should look up users' GitHub usernames.
The attribute must exist on the default user profile
The attribute must be of type string
The attribute should not be user-editable
Click Finish install to save the configuration.
Congratulations! You have successfully set-up GitHub for P0. You can return to the GitHub integration page at any time to change the integration configuration.
Last updated