{ "documentationUrl": "https://docs.airbyte.com/integrations/sources/drift", "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Drift Spec", "type": "object", "required": [], "additionalProperties": true, "properties": { "credentials": { "title": "Authorization Method", "type": "object", "oneOf": [ { "type": "object", "title": "OAuth2.0", "required": [ "client_id", "client_secret", "access_token", "refresh_token" ], "properties": { "credentials": { "type": "string", "const": "oauth2.0", "order": 0 }, "client_id": { "type": "string", "title": "Client ID", "description": "The Client ID of your Drift developer application.", "airbyte_secret": true }, "client_secret": { "type": "string", "title": "Client Secret", "description": "The Client Secret of your Drift developer application.", "airbyte_secret": true }, "access_token": { "type": "string", "title": "Access Token", "description": "Access Token for making authenticated requests.", "airbyte_secret": true }, "refresh_token": { "type": "string", "title": "Refresh Token", "description": "Refresh Token to renew the expired Access Token.", "default": "", "airbyte_secret": true } } }, { "title": "Access Token", "type": "object", "required": ["access_token"], "properties": { "credentials": { "type": "string", "const": "access_token", "order": 0 }, "access_token": { "type": "string", "title": "Access Token", "description": "Drift Access Token. See the docs for more information on how to generate this key.", "airbyte_secret": true } } } ] } } }, "advanced_auth": { "auth_flow_type" : "oauth2.0", "predicate_key" : [ "credentials", "credentials" ], "predicate_value" : "oauth2.0", "oauth_config_specification" : { "complete_oauth_output_specification" : { "type" : "object", "properties" : { "access_token" : { "type" : "string", "path_in_connector_config" : [ "credentials", "access_token" ] }, "refresh_token" : { "type" : "string", "path_in_connector_config" : [ "credentials", "refresh_token" ] } } }, "complete_oauth_server_input_specification" : { "type" : "object", "properties" : { "client_id" : { "type" : "string" }, "client_secret" : { "type" : "string" } } }, "complete_oauth_server_output_specification" : { "type" : "object", "properties" : { "client_id" : { "type" : "string", "path_in_connector_config" : [ "credentials", "client_id" ] }, "client_secret" : { "type" : "string", "path_in_connector_config" : [ "credentials", "client_secret" ] } } } } } }