JFrog Platform is integrated with OAuth allowing you to delegate authentication requests to external providers and let users login to the system using their accounts with those providers.

Currently, the provider types supported are Google, OpenID Connect, GitHub Enterprise, and Cloud Foundry UAA. You may define as many providers of each type as you need.

From December 2021, JFrog Cloud users (only) can also join through an invite, and to then log in using Personal OAuth such as Google or GitHub. See Enabling and Disabling Personal OAuth SSO for details.

Security is now called Authentication Providers. All the relevant text and images on this page have been updated to reflect this change.


When OAuth is enabled in the JFrog Platform, users may choose to sign in through any of the supported OAuth providers. To log in through a provider, simply click on the provider's button in the login screen.

You will be redirected to the login screen of the corresponding provider.

If you are already logged in to any of that provider's applications you will not need to log in again, but you may have to authorize the JFrog Platform to access your account information, depending on the provider type.

Configuring OAuth

Security is now called Authentication Providers. All the relevant text and images on this page have been updated to reflect this change.

To access OAuth integration settings, in the Administration module, select Authentication Providers | OAuth SSO.

Enable OAuth
When selected, authentication with an OAuth provider is enabled and the system will display all OAuth providers configured. If not checked, authentication is by Artifactory user/password.
Auto Create System Users
When set, the system will automatically create new users for those who have logged in using OAuth, and assign them to the default groups.
Default Provider

Specifies the provider through which different clients (such as npm, for example) should authenticate their login to gain access to the JFrog Platform.

Currently, only a GitHub Enterprise OAuth provider may be defined as the Default Provider.

When selected, users created after authenticating using OAuth, will be able to access their profile. This means they are able to generate their API Key and set their password for future use.

For your OAuth settings to work, make sure you have your Custom Base URL configured.

Adding a New Provider

The list of providers defined in Artifactory is displayed in the Providers section. 


To add a new provider, click New. The JFrog Platform displays a dialog letting you enter the provider details. These may vary slightly depending on the provider you are configuring.

The following table describes the settings required by each supported provider, and the corresponding values you should use (where available):

GitHub Enterprise
Cloud Foundry UAA
If selected, this OAuth provider is enabled and will appear in the login dialog.
PKCE Enabled

If selected, this OAuth provider will use an authorization code flow with PKCE.XX
Provider Name

A logical name for this provider. For example, "Google OAuth", "GitHub OAuth".

This must be unique within JFrog Platform.

Provider Type
The provider type. Currently GitHub, Git Enterprise, Google, OpenID, and Cloud Foundry are supported.

Client ID

The identity with which you identify your organization to the provider.

This is provided by the OAuth provider when you set up your account with them.


The secret allocated to your organization by the provider.

This is provided by the OAuth provider when you set up your account with them.


Specifies a domain filter which defines from which domains users may be authenticated.

Normally, this will be your domain name. For example jfrog.com


Docker Login
Support for Docker loginX
npm Login
Support for npm loginX

Basic URL
The base URL of the Git server which should be used for authentication.https://github.com/

<Server Base URL>

Auth URL
The URL through which the provider redirects you to the authentication page.


Note: GitHub.com Accounts
Any GitHub.com account that has access
to the Artifactory URL will be allowed to login, including accounts that are outside your
GitHub.com organization scope.

<Server Base URL>/login/oauth/authorizehttps://accounts.google.com
<Server Base URL>/oauth/authorize 
The URL through which Artifactory can get extra information that it not directly available via OAuth.https://api.github.com/user<Server Base URL>/api/v3/userhttps://www.googleapis.com
<Server Base URL>/userinfo 
Token URL
The URL that Artifactory will go to to get a token to use the API.https://github.com/login
<Server Base URL>/login/oauth/access_tokenhttps://www.googleapis.com
<Server Base URL>/oauth/token

Using Query Params

You may pass query params along with the Authorization URL


Multiple query params should be separated with an ampersand. 


Enabling Authorization Code Flow with PKCE

Security is now called Authentication Providers. All the relevant text and images on this page have been updated to reflect this change.

From Artifactory version 7.38, you can apply the Authorization Code Flow with PKCE (Proof Key for Code Exchange) flow for your OAuth Provider authorization provider. This flow is the alternative to the usage of Secrets, which is automatically disabled once you enable PKCE on your OAuth provider.

To enable PKCE on your OAuth provider:

  1. In the Administration module, navigate to the Administration module, and select Authentication Providers | OAuth SSO.
  2. Scroll to the Providers section and click New or edit an existing provider.

  3. Select the PKCE Enabled check box.
    As a result, the Secret field is disabled.

Enabling and Disabling Personal OAuth SSO

Identity & Access is now called User Management. All the relevant text and images on this page have been updated to reflect this change.

  1. To enable Personal OAuth SSO, in the Administration module, select User Management Security.
  2. Scroll down to Personal Sign On, and select Enable sign up via external providers.
  3. Then, from the Providers dropdown list, select the providers you wish to enable in the sign up screen, for example Google, GitHub, etc.

Binding Existing User Accounts

To log in using any of your OAuth provider accounts If you already have an internal (not external realms such as LDAP, SAML...) account in the system,  bind your JFrog Platform account to the corresponding account.

To bind your account, go to your Profile page and enter your JFrog Platform password to unlock it.

Under OAuth User Binding, select Click to bind next to the OAuth provider you wish to bind to.

Binding to OAuth providers

Creating OAuth Provider Accounts

In order to use OAuth authentication, you need to set up an account with each OAuth provider you wish to use in order to get the various parameters (such as Provider ID and Secret) you will need to set up OAuth integration in the system.

GitHub OAuth Setup

Any GitHub.com account that has access to the JFrog Platform URL will be allowed to login, including accounts that are outside your GitHub.com organization scope. This does not apply to GitHub Enterprise.

To set up your OAuth account on GitHub:

  1. Log in to your GitHub account. Under your personal profile settings, select Applications and click the .

  2. Click Register new application.

  3. Set the Application name. For example, the JFrog Platform Cloud OAuth.

  4. Set the Homepage Url. This is your Artifactory server host URL (https://<artifactory-server>/). 
    For example, https://mycompany.jfrog.io/mycompany/

  5. Set the Authorization Callback URL as follows: 

    1. For on-prem installation: http://<server_host>/artifactory/api/oauth2/loginResponse
      For example, http://mycompany.artifactory.com/artifactory/api/oauth2/loginResponse

    2. For cloud: https://<server_name>.jfrog.io/artifactory/api/oauth2/loginResponse
      For example, https://mycompany.jfrog.io/artifactory/api/oauth2/loginResponse
  6. 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.

Configuring OAuth on GitHub

Google OAuth Provider Setup

To set up your OAuth account on Google, execute the following steps:

  1. Login to .
  2. Create a new project. For example, "Artifactory OAuth".

  3. Once the project is created, in the left navigation bar, select APIs & auth | Credentials.

  4. Select the OAuth consent screen tab and configure the consent page that the end users will see when logging in with the Google credentials.
     Configuring OAuth on Google

  5. Back in the Credentials tab, Click Add Credential and select OAuth 2.0 client ID.
    Adding OAuth credentials on Google

  6. Under Create client ID, select Web application.

  7. Enter a Name and set the Authorized redirect URIs
    For on-prem: https://<server_host>/artifactory/api/auth/oauth2/loginResponse
    For cloud: https://<server_name>.jfrog.io/artifactory/api/oauth2/loginResponse

  8. Click Create to generate your Client ID and Client Secret
    Client credentials on Google
    Make a note of these; you will need them to configure OAuth authentication through Google on the JFrog Platform.

Cloud Foundry UAA Setup

OAuth authentication with Cloud Foundry UAA is supported.

To setup your OAuth authentication with Cloud Foundry UAA, fill in the fields as needed.

Setting up OAuth on Cloud Foundry


Using Secure OAuth 

To use secure OAuth with a valid certificate from a CA trusted by Java, all you need to do is use a secure OAuth URL in your settings.

If you want to use OAuth with a non-trusted (self-signed) certificate, please see Trusting a new CA or a Self-Signed Certificate.

Using API Key with OAuth Users

While OAuth provides access to the UI, it is also possible for OAuth users to generate an API Key that can be used instead of a password for basic authentication or in a dedicated REST API header, this is very useful when working with different clients, e.g. docker, npm, maven, etc. or using Artifactory REST API.

In order to allow OAuth users access to an API key you will need to make sure that the "Auto Create System Users" and "Allow Created Users Access To Profile Page" check boxes are checked. This means that OAuth users are also saved in the database and can access their profile page in order to generate, retrieve and revoke their API key.

Using OAuth on High Availability Setup

The OAuth protocol requires the client to give permission to a specific application. JPD will redirect the user to the configured application URL and one permission is granted user will be navigated back.

The limitation on this process when working in High Availability setup is that the user must return to the same node, otherwise the authentication process will fail, in order to achieve this a sticky session configuration should include the /artifactory/api/oauth2/.

The example below shows NGINX configuration. 

location ~ (/artifactory/webapp/|/artifactory/ui/|/artifactory/api/oauth2/) {
        proxy_http_version      1.1;
        proxy_pass              http://<UPSTREAM_NAME>;
        proxy_intercept_errors  on;
        proxy_pass_header       Server;
        proxy_connect_timeout   75s;
        proxy_send_timeout      2400s;
        proxy_read_timeout      2400s;
        proxy_set_header        Host $host;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header        X-Forwarded-Proto $http_x_forwarded_proto;
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_set_header        X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host;