1 | {
|
2 | "type": "oauth1",
|
3 | "title": "{{title}}",
|
4 | "consumerKey": "<CONSUMER KEY>",
|
5 | "consumerSecret": "<CONSUMER SECRET>",
|
6 | "signatureMethod": "HMAC-SHA1",
|
7 | "requestURL": "<REQUEST URL>",
|
8 | "authURL": "<AUTH URL>",
|
9 | "accessURL": "<ACCESS TOKEN URL>",
|
10 | "requiredFields": [ ], // Json schema for form to be rendered for any dynamic values
|
11 | "authQueryParams": {
|
12 | // any addition query params required for authorization process
|
13 | },
|
14 | "validate": {
|
15 | "url": "ANY API URL TO VALIDATE TOKEN OF THIRD PARTY SERVICE",
|
16 | "headers": {
|
17 | //<optional>
|
18 | },
|
19 | "query": {
|
20 | //<optional>
|
21 | "oauth_token": "{oauth_token}",
|
22 | "oauth_token_secret": "{oauth_token_secret}"
|
23 | }
|
24 | },
|
25 | "redirectURL": "{{redirectURL}}"
|
26 | } |
\ | No newline at end of file |