diff --git a/manifest.json b/manifest.json index ace0c7c..2d705f2 100644 --- a/manifest.json +++ b/manifest.json @@ -40,7 +40,19 @@ "methods": ["GET", "POST", "DELETE"], "timeout": 20 }, - { "url": "https://zoom.us/oauth/.*", "methods": ["POST"], "timeout": 20 } + { + "url": "https://zoom.us/oauth/.*", + "methods": ["POST"], + "timeout": 20, + "settingsInjection": { + "client_id": { + "header": ["Authorization"] + }, + "client_secret": { + "header": ["Authorization"] + } + } + } ] } } diff --git a/src/constants.ts b/src/constants.ts index 37b9e45..311947f 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -14,11 +14,6 @@ export const ACCESS_TOKEN = `[user[${ACCESS_TOKEN_PATH}]]`; export const REFRESH_TOKEN_PATH = "oauth/global/refresh_token"; export const REFRESH_TOKEN = `[user[${REFRESH_TOKEN_PATH}]]`; -export const placeholders = { - client_id: "__client_id__", - client_secret: "__client_secret__", -}; - /** Zoom */ export const REST_URL = "https://api.zoom.us/v2";