Skip to main content

Upsert Organization Oauth Credentials

PUT 

/api/v1/oauth/credentials

Create or update OAuth credentials for the user's organization.

This endpoint:

  1. Extracts organization_id from the user's token
  2. Validates the configuration against the connector's OAuth spec
  3. Stores secrets and replaces them with secret coordinates
  4. Proxies the credentials to Coral's organization OAuth endpoint
  5. Saves the record to Sonar's database

Request

Responses

Successful Response