-
Notifications
You must be signed in to change notification settings - Fork 44.9k
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
feat(platform): Add Gmail and Google Sheets blocks + fix Google OAuth #8236
Conversation
✅ Deploy Preview for auto-gpt-docs canceled.
|
guess is most of the frontend stuff isn't needed |
Test Plantest logging in/out and making sure your tokens for github and google still work Test gihtub agents test showing status and output of blocks during execution test /monitoring post requests -> sometimes failed for me due to being 'too big'. Is this known Test sheets reading/writing -> can you do the same sheet with a list input etc Test reading/sending emails -> don't get us rate limited or blocked with spam while testing this. Seriously. Only email internal accounts, or yourself. |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
autogpt_platform/frontend/src/components/integrations/credentials-input.tsx
Outdated
Show resolved
Hide resolved
autogpt_platform/backend/backend/server/routers/integrations.py
Outdated
Show resolved
Hide resolved
turns out an email doesn't need a body
Co-authored-by: Reinier van der Leer <[email protected]>
Co-authored-by: Reinier van der Leer <[email protected]>
autogpt_platform/autogpt_libs/autogpt_libs/supabase_integration_credentials_store/store.py
Outdated
Show resolved
Hide resolved
token=token, | ||
provider=provider, | ||
expires_at=int(expires_at.timestamp()), | ||
scopes=scopes, |
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.
not sure how this passed CI when OAuthState
has no scopes
field
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.
apparently we're not running CI on autogpt_libs
Background
We have several agents that we want to integrate with google services
Changes 🏗️
This pr does a handful of things
OAuth
Blocks
Testing 🔍
Warning
This PR has auth changes. Review it top to bottom. Test plan included in comments, with issues that I've seen highlighted
Note
Only for the new autogpt platform, currently in autogpt_platform/