Missing JWT documentation
# support
t
I'm trying to figure out how I can use a JWT with the Web SDK, but the [documentation](https://docs.vapi.ai/sdk/web) links to a [404](https://docs.vapi.ai/customization/jwt-authentication). Is there anywhere I can find that JWT documentation?
For more context - I'm able to successfully use a JWT signed with a private API key, but when I try to use the same JWT encoding logic for a "public" tagged JWT, I get a 401 when trying to start a call with a transient assistant. The error says
Key doesn't allow transient assistant.
, even though the payload has
allowTransientAssistant: true
. If I try to use a public API key, I get a 401 with the error
Couldn't verify JWT
. I'm able to use the public API key directly to start a call, but I'd prefer to use a JWT.
t
@Sahil I'm not clear on how that answers my question.
a
We do offer JWT-based authentication, and it seems it was removed by mistake. I'll work on getting that re-added by tomorrow, or you can check the GitHub docs section in the meantime.
t
Alright, thank you!