Skip to content

Commit

Permalink
revert oauth config in spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhilashkari17 committed Feb 2, 2024
1 parent 066983e commit 242810e
Showing 1 changed file with 10 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,50 +125,16 @@
}
}
},
"advanced_auth": {
"auth_flow_type": "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"]
},
"developer_token": {
"type": "string",
"path_in_connector_config": ["credentials", "developer_token"]
}
}
}
"authSpecification": {
"auth_type": "oauth2.0",
"oauth2Specification": {
"rootObject": ["credentials"],
"oauthFlowInitParameters": [
["client_id"],
["client_secret"],
["developer_token"]
],
"oauthFlowOutputParameters": [["access_token"], ["refresh_token"]]
}
}
}

0 comments on commit 242810e

Please sign in to comment.