-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
🎉 Source Drift: add OAuth 2.0
authentication option
#7337
Conversation
/test connector=connectors/source-drift
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java part looks good
Hello @sherifnada When I disable CORS in my web browser, then I can pass the authentication scenario and get a success message: Could you please advise something? |
3b1275b
to
4176cbd
Compare
@bazarnov to which domain is the erroneous request being made? |
{ | ||
"type": "object", | ||
"title": "OAuth2.0", | ||
"required": ["client_id", "client_secret", "access_token", "refresh_token"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
access token is not required since we can use the other params to generate it
@sherifnada domain is customer2.api.drift.com |
@yurii-bidiuk oops, tagged bazarnov by accident. It seems that local auth is the problem then. I think we should not block this PR on fixing localhost support. We should move ahead w this PR but also ask Drift support of there is any way to support localhost. |
They have the support of localhost, but it should be using https://... instead of http://... |
@sherifnada can we plan to marge this PR? I think we passed all the tests at this point. |
/test connector=connectors/source-drift
|
/publish connector=connectors/source-drift
|
28d6f3b
to
3c3180c
Compare
3c3180c
to
bcbb385
Compare
What
#6261 - Source Drift: support oauth
How
client.py
spec.json
unit_tests
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described here