---
title: "GET /oauth/providers/{oauthProviderId}"
method: GET
path: "/oauth/providers/{oauthProviderId}"
tags: ["OAuthProviders"]
---

# GET /oauth/providers/{oauthProviderId}

`GET /oauth/providers/{oauthProviderId}`

Get a specified oauthProvider resource.

## Path parameters

- `oauthProviderId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- OAuthProvider — Schema of OAuth provider resource.
  - `appId` string — OAuth App Id for given OAuth Provider.
  - `appSecret` string — OAuth App secret for given Provider. Note: Won't be sent in response.
  - `apiKey` string — OAuth Api key for given Provider. Note: currently Applicable to Climate provider. Won't be sent in response.
  - `isProductionApp` boolean — An optional flag to determine if the App is ready to be used for Production scenarios in the provider side or not. (Default value: false) Note: Currently applicable for JohnDeere.
  - `id` string — Unique OAuth provider ID.
  - `eTag` string — The ETag value to implement optimistic concurrency.
  - `createdDateTime` string, date-time — Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.
  - `modifiedDateTime` string, date-time — Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.
  - `name` string — Name to identify resource.
  - `description` string — Textual description of the resource.
  - `createdBy` string — Created by user/tenant id.
  - `modifiedBy` string — Modified by user/tenant id.
  - `properties` object — A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string, numeral and datetime (yyyy-MM-ddTHH:mm:ssZ) values are supported.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/agrifood-agfoodplatform.md) · [All operations](https://skmtc.net/azure/apis/agrifood-agfoodplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/agrifood-agfoodplatform/revisions/33cf1de6e0c4/schema)
