The OAuth 2.0 API produces a JSON response containing the following parameters as name:value pairs.

Note: If any OAuth provider sends the response body as "content-type" instead of "Content-Type", the OAuth HTTP client may not parse the response correctly. To correct this issue, create a system property using these parameters.
Field Value
Name glide.oauth.inhouse.httpclient.enabled
Type true|false
Value false

For details on creating system properties, see Add a system property

Example

The following example illustrates the JSON string returned by an access token request. (Spaces have been added to improve readability).


{"scope":"useraccount","token_type":"Bearer","expires_in":1800,
"refresh_token":"w599voG89897rGVDmdp12WA681r9E5948c1CJTPi8g4HGc4NWaz62k6k1K0FMxHW40H8yOO3Hoe",
"access_token":"F0jh9korTyzd9kaZqZ0SzjKZuS3ut0i4P46Lc52m2JYHiLIcqzFAumpyxshU9mMQ13gJHtxD2fy"}