Get all OIDC Configuration

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Get details of an OIDC configuration.

Since: Artifactory Cloud 7.73.1, Artifactory Self Hosted 7.77.3. The project_key was added in Artifactory Cloud 7.94.

Security: Requires a valid admin token

Usage: GET /access/api/v1/oidc

Produces: application/json

Header parameter: Authorization: Bearer. For more information about creating tokens, see Create Token.

Parameters:

The JSON record contains the following fields:

Name

Type

Description

name

string

Name of the identity mapping

description

string

The description of the identity mapping

provider_type

string

The provider type, such as Github, Azure, or Generic OpenID Connect.

issuer_url

integer

OIDC issuer URL. For GitHub actions, the URL is https://token.actions.githubusercontent.com/.

audience

string

Informational field that you can use to include details of the audience that uses the OIDC configuration

project_key

string

If set, this Identity Mapping will be available in the scope of the given project (editable by the platform admin and project admin). If not set, this Identity Mapping will be global and only editable by the platform admin. Once set, the projectKey cannot be changed.

Sample Usage

curl -X GET -H "Authorization: Bearer cOENUdUxv" \ 
     https://example.jfrog.io/access/api/v1/oidc

[
    {
        "name": "ciconnect",
        "issuer_url": "https://token.actions.githubusercontent.com",
        "audience": "dev",
        "description": "ciconnect",
        "provider_type": "GitHub"
    },
    {
        "name": "gaActions",
        "issuer_url": "https://token.actions.githubusercontent.com",
        "audience": "",
        "description": "",
        "provider_type": "GitHub"
    },
    {
        "name": "templateOIDC",
        "issuer_url": "https://token.actions.githubusercontent.com",
        "audience": "",
        "description": "Github Connect",
        "provider_type": "GitHub"
    }
]