-
Notifications
You must be signed in to change notification settings - Fork 44.7k
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: basic credentials fields added #9113
Draft
ntindle
wants to merge
12
commits into
dev
Choose a base branch
from
ntindle/open-2032-re-enable-getredditpostblock-sendemailblock
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat: basic credentials fields added #9113
ntindle
wants to merge
12
commits into
dev
from
ntindle/open-2032-re-enable-getredditpostblock-sendemailblock
+397
−86
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
github-actions
bot
added
conflicts
Automatically applied to PRs with merge conflicts
platform/frontend
AutoGPT Platform - Front end
platform/blocks
labels
Dec 20, 2024
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
github-actions
bot
added
size/l
and removed
conflicts
Automatically applied to PRs with merge conflicts
size/m
platform/frontend
AutoGPT Platform - Front end
platform/blocks
labels
Dec 20, 2024
github-actions
bot
added
platform/frontend
AutoGPT Platform - Front end
platform/blocks
labels
Dec 20, 2024
ntindle
added
architecture
Topics related to package and system architecture
and removed
Improvement
labels
Dec 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
architecture
Topics related to package and system architecture
platform/backend
AutoGPT Platform - Back end
platform/blocks
platform/frontend
AutoGPT Platform - Front end
size/l
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update and adds a basic credential field for use in integrations like reddit
Changes 🏗️
Reddit
Settings().secrets
rather than input on the blockSettings().config
Add
UserPasswordCredentials
UserPasswordCredentials
with a weird form ofbearer
which we ideally remove becausebasic
is a more appropriate name. This is dependent onWebhook _base
allowing a subset ofCredentials
Credentials
andCredentialsType
OAuth2Credentials | APIKeyCredentials
->Credentials
mismatches between base and derived classesrouter/@post(create_api_key_credentials)
withcreate_credentials
which now takes a credential and is discriminated bytype
provided by the credentialUI/Frontend
client.ts
to support the new streamlined credential creation method and endpointDX
TODO:
Credentials
rather than requiring all webhooks to support the input of all validCredentials
typessingleCredential
calculator incredentials-input.tsx
so that it also respects User Pass credentials and isn't a logic messChecklist 📋
For code changes:
Example test plan
For configuration changes:
.env.example
is updated or already compatible with my changesdocker-compose.yml
is updated or already compatible with my changesExamples of configuration changes