Exchange an external OIDC token for a DataRecs Connector_Token
POST
/auth/oidc/exchange
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” x-datarecs-tenant-slug
string
Tenant slug injected by the edge router (X-Datarecs-Tenant-Slug). When present, the cell cross-checks the JWT aud claim against this slug to enforce the OIDC audience convention (https://api.datarecs.io/
Request Body required
Section titled “Request Body required ”object
subject_token
required
string
tenant_id
required
string
Responses
Section titled “ Responses ”Token exchange successful
object
access_token
required
string
expires_in
required
number
token_type
required
string
Invalid tenant
Invalid signature, expired token, or issuer not configured
Audience mismatch or claim condition failed