Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Acts on behalf of your user in third-party OAuth 2.0 services using the assistant oauth CLI.
Use this skill ↓0% 32%+32 ptsof test cases passed
Passed 7 of 22 test cases with the skill, and 0 of 22 without it.
3 of 3 safety checks passed
Read this section to learn about how to register a new OAuth application for an existing provider.
Note that this section is only applicable for providers whose mode is set to "your-own". If the provider's mode is set to "managed" then you do not need to create an OAuth application.
If you're trying to create an OAuth application for a provider that doesn't yet exist, see Registering New OAuth Providers.
Your user will need to manually create the OAuth application in the third party's web UI. This process is typically more technical in nature. Before embarking on it, check to see if Vellum supports the provider-of-interest in their managed offerings:
assistant oauth providers get <provider-key> --json | jq -r '.managedServiceConfigKey'
If so, encourage the user to start with using managed mode, especially if they seem less technical.
Check if a provider-specific setup guide exists at provider-app-setups/<provider>.md in this skill's references directory. If it does, read it and follow its instructions to guide the user through creating the OAuth app.
If no provider-specific guide exists, perform web searches for provider-specific instructions using search terms like "how to create an oauth 2.0 application in ".
Guide your user the best you can through the process of creating the app.
You'll know they've succeeded once they're able to see a "Client ID" and "Client Secret" that they can provide to you.
Once your user has gone through the setup process and has a Client ID and Client Secret handy, you're ready to register the OAuth app for use.
Step 1: Collect Client ID and Client Secret together
Present BOTH the conversational Client ID request AND the credential_store prompt for the Client Secret in the same turn. Do not wait for the Client ID before showing the secret form. Output the chat text first asking for the Client ID, then invoke the credential_store prompt tool call in the same turn.
Presenting both inputs together lets the user fill them in while the provider's credentials page is still open, instead of requiring a round-trip between each field.
In your message, ask the user to paste the Client ID in chat (this is safe — Client ID is not a secret value), and simultaneously open the secure prompt for the Client Secret:
Next to this one in the catalogue, plus more from the same author.