diff --git a/manifest.json b/manifest.json index 78b8c18..cc9fd51 100644 --- a/manifest.json +++ b/manifest.json @@ -145,20 +145,47 @@ }, "proxy": { "whitelist": [ - { - "url": "https://(.*).atlassian.net/.*", - "methods": ["GET", "POST", "PUT", "DELETE"], - "timeout": 50 - }, { "url": "https://auth.atlassian.com/.*", "methods": ["GET", "POST"], - "timeout": 50 + "timeout": 50, + "settingsInjection": { + "client_id": { + "body": ["client_id"] + }, + "client_secret": { + "body": ["client_secret"] + }, + "api_key": { + "header": ["Authorization"] + } + } + }, + { + "url": "https://(.*).atlassian.net/.*", + "methods": ["GET", "POST", "PUT", "DELETE"], + "timeout": 50, + "settingsInjection": { + "api_key": { + "header": ["Authorization"] + }, + "username": { + "header": ["Authorization"] + } + } }, { "url": "https://api.atlassian.com/.*", "methods": ["GET", "POST", "DELETE"], - "timeout": 50 + "timeout": 50, + "settingsInjection": { + "api_key": { + "header": ["Authorization"] + }, + "username": { + "header": ["Authorization"] + } + } } ] }