Skip to content

Conversation

andrewjschuang
Copy link
Collaborator

@andrewjschuang andrewjschuang commented Aug 30, 2022

Adds components for new Gmail Custom OAuth app.

Note: the app is currently hidden from the UI, so I wasn't able to test them.

Resolves #4121.

@vercel
Copy link

vercel bot commented Aug 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pipedream-docs ✅ Ready (Inspect) Visit Preview Aug 30, 2022 at 6:05PM (UTC)
pipedream-docs-redirect-do-not-edit ✅ Ready (Inspect) Visit Preview Aug 30, 2022 at 6:05PM (UTC)

@dylburger
Copy link
Contributor

Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:

Copy link
Collaborator

@lcaresia lcaresia left a comment

Choose a reason for hiding this comment

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

LGTM!

_client() {
const auth = new gmail.auth.OAuth2();
auth.setCredentials({
access_token: this.$auth.oauth_access_token,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Move this to a getter method.

Suggested change
access_token: this.$auth.oauth_access_token,
access_token: this._accessToken(),

@DilanAthukorala
Copy link

Testing is skipped since there are some prerequisites required for testing. @andrewjschuang please ship it and @dannyroosevelt will perform the testing.

@andrewjschuang andrewjschuang merged commit a52657c into master Aug 30, 2022
@andrewjschuang andrewjschuang deleted the gmail-custom-oauth-components branch August 30, 2022 18:59
alysonturing pushed a commit that referenced this pull request Aug 31, 2022
* master: (22 commits)
  Adding app scaffolding for gmail
  Adding app scaffolding for gmail
  Modifying global config
  Adding app scaffolding for crisp
  Adding app scaffolding for crisp
  Adding app scaffolding for crisp
  Modifying global config
  Gmail Custom OAuth minor fixes (#4126)
  [Gmail] Custom OAuth Components (#4125)
  Fixed postgres event (#4115)
  Adding app scaffolding for gmail_custom_oauth
  Adding app scaffolding for gmail_custom_oauth
  Adding app scaffolding for gmail_custom_oauth
  Modifying global config
  Update send-large-message.mjs
  TimeCamp #3812 (#4084)
  Small updates to Slack components (#4108)
  add default false value (#4117)
  Sources - ClickUp (#4101)
  Esputnik - new sources and actions (#4105)
  ...
@andrewjschuang andrewjschuang restored the gmail-custom-oauth-components branch September 15, 2022 17:45
@andrewjschuang andrewjschuang deleted the gmail-custom-oauth-components branch September 15, 2022 17:52
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.

Extend Gmail components to gmail_custom_oauth app
4 participants