AutoGPT
AutoGPT copied to clipboard
feat(platform): List and revoke credentials in user profile
Background
Follow up to https://github.com/Significant-Gravitas/AutoGPT/pull/8044 Resolves:
- https://github.com/Significant-Gravitas/AutoGPT/issues/7823
- https://github.com/Significant-Gravitas/AutoGPT/issues/7824
Changes 🏗️
Display existing credentials (OAuth and API keys) for all current providers: Google, Github, Notion and allow user to remove them (OAuth is also revoked at providers for Google and GitHub).
- Add credentials list and
Removebutton inapp/profile/page.tsx - Add
revoke_tokensabstract method toBaseOAuthHandlerand implement it in each provider - Revoke OAuth tokens for providers on
DELETE/{provider}/credentials/{cred_id} - Update
autogpt-server-api/baseClient.ts:_requestto properly handle empty server responses - Ignore
googleandnotionproviders at profile until implemented (addedTODO)
Testing 🔍
[!NOTE] Only for the new autogpt platform, currently in autogpt_platform/
- Create from scratch and execute an agent with at least 3 blocks
- Import an agent from file upload, and confirm it executes correctly
- Upload agent to marketplace
- Import an agent from marketplace and confirm it executes correctly
- Edit an agent from monitor, and confirm it executes correctly
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | f930bf97897b1a98842148590488bd14a31c98c1 |
| Latest deploy log | https://app.netlify.com/sites/auto-gpt-docs/deploys/66f6b7db7d1d120008147f81 |
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 042e09892d1c6efbb693d38fe1917e888ef24b85 |
| Latest deploy log | https://app.netlify.com/sites/auto-gpt-docs/deploys/670d3246a55fee0008cf04c4 |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.
is this what it's supposed to look like?