Additional OAuth scopes
The Make an API Call module connection will not work if the required scopes of the endpoint are not in the OAuth connection. To correct this, allow users to define additional scopes when they create a connection.
Make an API Call parameters: non-editable connection

Make an API Call parameters: editable connection
{
"type": "banner",
"text": "Your connection must contain the required scopes for your API call. If you receive an error, edit your connection with the necessary Additional scopes.",
"theme": "info"
}
Connection parameters

Connection communication
{
"authorize": {
"qs": {
"scope": "{{join(distinct(merge(oauth.scope, ifempty(parameters.additionalScopes, emptyarray))), ',')}}",
...
},
"url": "...",
"response": {
"temp": {
"code": "{{query.code}}"
}
}
}
}
Last updated