[Speech Engine] Add disable_auth parameter - #806
Merged
Conversation
Merged
kraenhansen
pushed a commit
that referenced
this pull request
Jul 7, 2026
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.42.0 * [fern-replay] Applied customizations Patches with unresolved conflicts (1): - patch-1b45413e: [Speech Engine] Add disable_auth parameter (#806) Run `fern-replay resolve` to apply these customizations. --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Merged
kraenhansen
pushed a commit
that referenced
this pull request
Jul 9, 2026
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.42.0 * [fern-replay] Applied customizations Patches with unresolved conflicts (1): - patch-1b45413e: [Speech Engine] Add disable_auth parameter (#806) Run `fern-replay resolve` to apply these customizations. --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Merged
PaulAsjes
pushed a commit
that referenced
this pull request
Jul 13, 2026
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.42.0 * [fern-replay] Applied customizations Patches with unresolved conflicts (1): - patch-1b45413e: [Speech Engine] Add disable_auth parameter (#806) Run `fern-replay resolve` to apply these customizations. --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
This was referenced Jul 21, 2026
Closed
Closed
Merged
PaulAsjes
added a commit
that referenced
this pull request
Jul 22, 2026
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.64.1 * [fern-replay] Applied customizations Patches with unresolved conflicts (1): - patch-1b45413e: [Speech Engine] Add disable_auth parameter (#806) Run `fern-replay resolve` to apply these customizations. * Use scribe_v2 --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Paul Asjes <paul.asjes@elevenlabs.io>
Merged
kraenhansen
pushed a commit
that referenced
this pull request
Jul 30, 2026
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.64.1 * [fern-replay] Applied customizations Patches applied (1): - patch-560b8934: fix: send list-of-primitive multipart fields as repeated form fields (#819) (#825) Patches with unresolved conflicts (1): - patch-1b45413e: [Speech Engine] Add disable_auth parameter (#806) Run `fern-replay resolve` to apply these customizations. --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
4 tasks
kraenhansen
added a commit
that referenced
this pull request
Jul 30, 2026
…#828) patch-1b45413e was captured from "[Speech Engine] Add disable_auth parameter (#806)", but its remaining diff is only a hardcoded version bump (2.55.0 to 2.56.0) plus websockets >=13.0 (now native via the generator config). Because it pins an old version string, it collided with the version line on every regeneration and surfaced as an unresolved conflict (most recently in the v2.60.0 regen PR #826). Running `fern replay forget patch-1b45413e` drops it from the active patch set and tombstones its content hash so it is not re-captured. The #825 multipart fix (patch-560b8934) is unaffected, and disable_auth itself is generated from the spec and does not depend on this patch. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds new
disable_authparameter.Note
High Risk
Opt-out JWT verification on the Speech Engine WebSocket entrypoint is security-sensitive; misuse exposes sessions to unauthenticated clients and downstream LLM/compute abuse, though the flag defaults off and is documented as insecure.
Overview
Adds an opt-in
disable_authflag onSpeechEngineServerandSpeechEngineResource.serve()so deployments behind an ElevenLabs IP allowlist can skip JWT checks onX-Elevenlabs-Speech-Engine-Authorization. With auth disabled, an API key is no longer required at startup, the handshake bypasses verification, and aUserWarningis emitted; default behavior still rejects missing or invalid JWTs with 401.The standalone server now uses
websockets.asyncio.server.serve(dependency bumped towebsockets>=13.0) so theprocess_requesthook matches the asyncio(connection, request)/connection.respond()API. Release 2.56.0 and README Authentication docs accompany the change, plus integration tests for disabled auth, warnings, and enforced auth paths.Reviewed by Cursor Bugbot for commit a47165e. Bugbot is set up for automated code reviews on this repo. Configure here.