Skip to content

tesla: document the required audience on Tesla token requests - #124

Merged
Darker98 merged 2 commits into
mainfrom
tesla-partner-token-audience
Nov 16, 2026
Merged

Darker98 merged 2 commits into
mainfrom
tesla-partner-token-audience

Conversation

@Darker98

@Darker98 Darker98 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Updates the Tesla skills for the SDKs' new required audience parameter. This resolves the "Still open" item from #122.

What changed in the SDKs

Tesla requires audience (a Fleet API base URL, e.g. https://fleet-api.prd.na.vn.cloud.tesla.com) on both token grants. The SDKs now require it and send it:

What changed here (6 files, +22/−14; every added line mentions audience)

  • typescript: getting-started example (both grants), authentication examples (both grants), testing stub credential and the auth-code requirements note.
  • python: getting-started examples (both grants, typed and dict), authentication examples (both grants, both spellings), the token-request description, and the note that the credential classes are shared across SDKs.
  • dotnet: authentication examples (both grants), the token-request sentence, the env-var table, and the startup-validation table.

Version bumped 0.4.1 → 0.4.2 in all four tesla manifests (required by the version check). Nothing else changed.

🤖 Generated with Claude Code

Darker98 and others added 2 commits November 16, 2026 17:33
The Tesla SDKs now require audience (a Fleet API base URL) on both OAuth
grants: the partner token (client credentials) and the authorization code
exchange. Refresh requests do not send it.

Add audience to every client-credentials and authorization-code example
and table in the typescript, python and dotnet skills, including the new
TESLA_FLEET_MANAGEMENT_API_THIRDPARTYTOKEN_CLIENT_CREDENTIALS_AUDIENCE
environment variable for .NET.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Darker98
Darker98 merged commit e85db17 into main Nov 16, 2026
2 checks passed
@Darker98
Darker98 deleted the tesla-partner-token-audience branch November 16, 2026 12:46
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.

1 participant