Caution: Access to GitHub.com Accounts
Any GitHub.com account that has access to the JFrog Platform URL will be allowed to log in, including accounts that are outside your GitHub.com organization scope. Please ensure that you fill in the Organization field when completing provider credentials. Leaving the Organization field blank is regarded as a security vulnerability, as it allows unrestricted access for all GitHub.com users to log in to Artifactory.
To set up your OAuth account on GitHub:
Log in to your GitHub account. Under your personal profile settings, select Applications and click the Developer Applications tab.
Click Register new application.
Set the Application name. For example, the JFrog Platform Cloud OAuth.
Set the Homepage Url. This is your Artifactory server hofst URL (
https://<artifactory-server>/
).For example,
https://mycompany.jfrog.io/mycompany/
Set the Authorization Callback URL as follows:
For self-hosted installation:
http://<server_host>/artifactory/api/oauth2/loginResponse
For example,http://mycompany.artifactory.com/artifactory/api/oauth2/loginResponse
For cloud:
https://<server_name>.jfrog.io/artifactory/api/oauth2/loginResponse
For example,
https://mycompany.jfrog.io/artifactory/api/oauth2/loginResponse
Click Register application to generate your Client ID and Client Secret.
Make a note of these; you will need them to configure OAuth authentication through GitHub on the JPD.