Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[protocol] add oauth params to connector specification #5776

Merged
merged 2 commits into from
Sep 1, 2021

Conversation

sherifnada
Copy link
Contributor

@sherifnada sherifnada commented Sep 1, 2021

What

Add Oauth params to connector specification. This will be used by other processes e.g: UI to hide these fields from being user input. In the future this block could be extended to contain a DSL description of a connector's Oauth process, like described here.

closes #5632

How

Adds the following structs

authSpecification: top-level object containing metadata depending on the type of auth a connector follows. Right now this is only oauth2.0. In the future it could be oauth2.1 or openauth.
oauth2Specification: an object containing a 2d list which describes the parameters needed to kick off an oauth2 flow for a connector

Recommended reading order

There is but one file.

Pre-merge Checklist

@github-actions github-actions bot added the CDK Connector Development Kit label Sep 1, 2021
@sherifnada
Copy link
Contributor Author

sherifnada commented Sep 1, 2021

/publish-cdk dry-run=false

🕑 https://github.com/airbytehq/airbyte/actions/runs/1191315153
https://github.com/airbytehq/airbyte/actions/runs/1191315153

@sherifnada sherifnada merged commit 75a6a75 into master Sep 1, 2021
@sherifnada sherifnada deleted the sherif/protocol-oauth branch September 1, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/protocol CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protocol: add references to oauth parameters in connector spec
2 participants