Skip to content

docs: document optional-auth config flag for Python and TypeScript SDKs - #6450

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1785344977-optional-auth-config
Open

docs: document optional-auth config flag for Python and TypeScript SDKs#6450
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1785344977-optional-auth-config

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The Python and TypeScript SDK generators gained an opt-in optional-auth config flag (fern-api/fern#16932). When the API spec mandates auth on every endpoint, generated clients today require a credential at construction time and fail without one. Some users authenticate through a different mechanism entirely (cloud provider credentials such as AWS Bedrock/SageMaker or OCI), so they are forced to pass dummy values. With optional-auth: true, the client can be built without credentials and simply omits the auth header; the default false keeps existing behavior.

Documents the flag as a new <ParamField> in both generator configuration references, placed alphabetically alongside the other options:

  • fern/products/sdks/generators/typescript/configuration.mdxoptional-auth
  • fern/products/sdks/generators/python/configuration.mdxoptional_auth, noting that optional-auth and optionalAuth are also accepted (the Python generator normalizes all three, and this page uses snake_case option names)

No SDK changelog entries, per instructions. fern check --warnings reports 0 errors; Vale flags only pre-existing lines.

Link to Devin session: https://app.devin.ai/sessions/446a477726ed42f39a093c15c411339c

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from devalog as a code owner July 29, 2026 17:09
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown
Contributor

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.

0 participants