Openid Create

Get a JWT token for a configured service account belonging to the requesting org.

Request

posthttps://api.cloudsmith.io/v2/openid/{owner}
Body params optional

Response body

object

object

oidc_token
string
required
length ≥ 1
service_slug
string
required
length ≥ 1

Response

Responses

Created

object

object

token
string
optional

The JWT cannot be created.

object

object

detail
string
required
length ≥ 1

OIDC token cannot be authenticated.

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1