OIDC Token Exchange

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Exposes the token endpoint to retrieve a temporary access token. The scope of the token is determined using identity mappings.

Since: Artifactory 7.x.x

Security: Requires a valid admin token

Usage: POST access/api/v1/oidc/token {JSON with token information}

Produces: text/plain

Sample Usage

curl -X POST -H "Content-type: application/json" \
     -H "Authorization: Bearer cOENUdUxv" \ 
     https://example.jfrog.io/access/api/v1/oidc/token -d \
     '{“grant_type”: “urn:ietf:params:oauth:grant-type:token-exchange”, \
      “subject_token_type”:”urn:ietf:params:oauth:token-type:id_token”, \
      “subject_token”: <ID_TOKEN>, \
      "provider_name": "github-oidc"}'