Skip to content

Instantly share code, notes, and snippets.

@tobinbc
Last active July 23, 2019 18:43
Show Gist options
  • Save tobinbc/db200624e531f5cf1f29bacff6436a7d to your computer and use it in GitHub Desktop.
Save tobinbc/db200624e531f5cf1f29bacff6436a7d to your computer and use it in GitHub Desktop.
{
"x-amazon-apigateway-integration": {
"uri": "https://slack.com/api/oauth.access",
"responses": {
"default": {
"statusCode": "200",
"responseTemplates": {
"application/json": "<b>Please wait</b>\n<div style=\"display:none\">\n <div id=\"json\">$input.json('$')</div>\n</div>\n"
}
}
},
"requestParameters": {
"integration.request.querystring.code": "method.request.querystring.code",
"integration.request.querystring.state": "method.request.querystring.state",
"integration.request.querystring.client_id": "'123456789.123456789'",
"integration.request.querystring.client_secret": "'a4bcd74938a263728a4bcd74EXAMPLE'"
},
"passthroughBehavior": "when_no_match",
"httpMethod": "GET"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment