-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Surveymonkey: oAuth backend. #7524
Conversation
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 LGTM, though I suggest we improve the python connctor spec like described in the comment as part of this PR
@@ -17,16 +17,12 @@ | |||
"credentials": { | |||
"type": "object", | |||
"title": "Authentication Type", | |||
"description": "Authenticate over oAuth flow or provide token", | |||
"oneOf": [ |
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.
I think we can even go a step further and put the entire auth block in the root object. There's no reason really to have two auth mechanisms in a oneOf, since the connector always takes the access token. This should probably look like the FB marketing oauth spec.
FWIW I don't think we should have merged this connector in this current state, see: #7433 (comment)
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.
Done
} | ||
|
||
@Test | ||
public void testCompleteDestinationOAuth() throws IOException, ConfigNotFoundException, InterruptedException { |
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.
why are we testing destination? sourcemonkey is only a source ?
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.
Trying to test all methods from OAuthFlowImplementation interface.
c565498
to
99878af
Compare
/publish connector=connectors/source-surveymonkey
|
Resovles #7510