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

Remove OAuth Token From Query Params #171

Merged
merged 7 commits into from
Oct 30, 2023

Conversation

shivanesabharwal
Copy link
Contributor

  • we were redundantly setting the OAuth Token in query parameter via BigQueryRequestUserAgentInitializer#initializeBigqueryRequest.
  • The HttpRequestTimeoutInitializer which builds the HttpRequest was already setting it in the header of the request, which is the accepted method.
  • remove the call to setOauthToken and associated code which is no longer required.
  • in service of http://b/294919784

* we were redundantly setting the OAuth Token in query parameter via
  `BigQueryRequestUserAgentInitializer#initializeBigqueryRequest`.
* The `HttpRequestTimeoutInitializer` which builds the `HttpRequest` was
  already setting it in the header of the request, which is the accepted
  method.
* remove the call to `setOauthToken` and associated code which is no
  longer required.
* in service of http://b/294919784
Copy link
Contributor

@tjbanghart tjbanghart left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@shivanesabharwal shivanesabharwal merged commit 5a75def into main Oct 30, 2023
2 checks passed
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