Skip to content

Google oauth support + fix tools for API v1 #7780

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

Merged
merged 12 commits into from
Mar 4, 2025

Conversation

deepu105
Copy link
Contributor

@deepu105 deepu105 commented Feb 28, 2025

  • Adds support for OAuth access tokens. This is a much better option for use in applications for end users to use their own email account via federated Oauth token exchange using IdPs supporting the feature
  • Fixes the search, get message and get thread tools to work properly with google gmail API v1

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 28, 2025
Copy link

vercel bot commented Feb 28, 2025

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

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Mar 3, 2025 5:15am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Mar 3, 2025 5:15am

@dosubot dosubot bot added the auto:improvement Medium size change to existing code to handle new use-cases label Feb 28, 2025
@deepu105
Copy link
Contributor Author

deepu105 commented Mar 2, 2025

@benjamincburns same as the calender PR. I assumed the tool can be used in a singleton as well so made the access token a string or function so that token refresh and validation can be handled on the agent side

@dosubot dosubot bot added the lgtm PRs that are ready to be merged as-is label Mar 4, 2025
@benjamincburns
Copy link
Collaborator

Thanks once again @deepu105!

@benjamincburns benjamincburns merged commit 748d0fb into langchain-ai:main Mar 4, 2025
37 checks passed
@deepu105 deepu105 deleted the google-oauth-support branch March 5, 2025 04:38
FilipZmijewski pushed a commit to FilipZmijewski/langchainjs that referenced this pull request Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases lgtm PRs that are ready to be merged as-is size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants