Skip to content
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

Changelog page December 6, 2024 #89

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Changelog page December 6, 2024 #89

merged 1 commit into from
Dec 8, 2024

Conversation

quantstruct-bot
Copy link
Collaborator

  1. OAuth 2 Authentication for Custom LLM Models and Webhooks: In addition to (AuthZ)[https://www.okta.com/identity-101/authentication-vs-authorization/], you can now now authenticate users accessing your custom LLMs and server urls (aka webhooks) using OAuth2 (RFC 6749). Use the authenticationSession dictionary which contains an accessToken and expiresAt datetime to authenticate further requests to your custom LLM or server URL.

For example, create a webhook credential with CreateCustomLLMCredentialDTO with the following payload:

{
    "provider": "custom-llm",
    "apiKey": "your-api-key-max-10000-characters",
    "authenticationPlan": {
        "type": "oauth2",
        "url": "https://your-url.com/your/path/token",
        "clientId": "your-client-id",
        "clientSecret": "your-client-secret"
    },
    "name": "your-credential-name-between-1-and-40-characters"
}

This returns a CustomLLMCredential object as follows:

custom-llm-credential

This can be used to authenticate successive requests to your custom LLM or server URL.

Copy link

github-actions bot commented Dec 6, 2024

@nikhilro nikhilro merged commit 1ec946f into main Dec 8, 2024
1 of 4 checks passed
@quantstruct-bot quantstruct-bot deleted the changelog branch December 9, 2024 19:23
skeptrunedev pushed a commit to devflowinc/vapi-docs that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants