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

Update Google Analytics Oauth flow #6321

Merged
merged 3 commits into from
Sep 21, 2021

Conversation

ChristopheDuong
Copy link
Contributor

What

Update Google Analytics OAuth flow implementation to be compatible with connector's change in #6306

How

OAuth params are moved and nested into auth_mechanism

@Override
protected Map<String, Object> extractRefreshToken(JsonNode data) throws IOException {
// the config object containing refresh token is nested inside the "auth_mechanism" object
return Map.of("auth_mechanism", super.extractRefreshToken(data));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use the name credentials instead of auth_mechanism to standardize this across connectors? I'll see to it that the downstream PR is updated

@ChristopheDuong ChristopheDuong temporarily deployed to more-secrets September 21, 2021 12:26 Inactive
@ChristopheDuong ChristopheDuong merged commit 0475823 into master Sep 21, 2021
@ChristopheDuong ChristopheDuong deleted the chris/oauth-google-analytics-v4 branch September 21, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants