JWT Authentication in Custom LLM
# support
d
Does the Custom LLM feature support both JWT token authentication and OAuth2? If using JWT, can we provide our own secret key for signing and define a custom payload for token generation, or are we required to use OAuth2 credentials?
v
@Diogo Gonçalves The Custom LLM feature supports JWT token authentication, and you can provide your own secret key for signing as well as define a custom payload for token generation. OAuth2 is also supported, and you can choose the authentication method that best fits your application's security requirements. If you need to set up JWT with your own secret key or have specific requirements for the token payload, please provide the necessary details so we can assist you further. If you have any additional questions or need more information on how to implement these authentication methods with VAPI, please feel free to ask.
You can continue this conversation by mentioning me in the message.
v
Got it. Tagging @User for additional help.
d
anyone can help? @User
s
@Diogo Gonçalves Custom LLM supports oAuth2 authorization only, you cannot use JWT for it as you have described.
Do let me know if you require further help!!
s
use api
it should work
d
ok, thanks, will try it out!
5 Views