POST
/
public
/
v1
/
query
/
get_oauth_providers
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_oauth_providers \
  --header 'Content-Type: application/json' \
  --header 'X-Stamp: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "userId": "<string>"
}'
{
  "oauthProviders": [
    {
      "providerId": "<string>",
      "providerName": "<string>",
      "issuer": "<string>",
      "audience": "<string>",
      "subject": "<string>",
      "createdAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      },
      "updatedAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      }
    }
  ]
}

Authorizations

X-Stamp
string
header
required

Body

application/json
organizationId
string
required

Unique identifier for a given Organization.

userId
string

Unique identifier for a given User.

Response

200 - application/json
A successful response.
oauthProviders
object[]
required

A list of Oauth Providers