Skip to content

Commit 0217c57

Browse files
committed
bug: Fix OAuth Exchange docs
This was reported by a Customer. When performing a private OAuth Exchange, the correct value for `grant_type` is "authorization_code". This parameter may also be omitted, as this value is the default; it only need be provided (as "refresh_token") when doing an OAuth Token Refresh.
1 parent 676a835 commit 0217c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ info:
103103

104104
| PARAMETER | DESCRIPTION |
105105
|-----------|-------------|
106-
| grant_type | The grant type you're using for renewal. Currently only the string "refresh_token" is accepted. |
106+
| grant_type | The grant type you're using for renewal. Optional, only "authorization_code" is accepted for OAuth Exchanges. |
107107
| client_id | Your app's client ID. |
108108
| client_secret | Your app's client secret. |
109109
| code | The code you just received from the redirect. |

0 commit comments

Comments
 (0)