Repository navigation
tesla: document the required audience on Tesla token requests - #124
Merged
Merged
Conversation
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>
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.
Updates the Tesla skills for the SDKs' new required
audienceparameter. 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:7abf517, tesla-python-sdkadf0727and tesla-csharp-sdk3dbef16(PR Add 3commas-io-sdk plugin (csharp,java,python,ruby,typescript) #1 in each). .NET also readsTESLA_FLEET_MANAGEMENT_API_THIRDPARTYTOKEN_CLIENT_CREDENTIALS_AUDIENCE.audience, per Tesla's docs.What changed here (6 files, +22/−14; every added line mentions
audience)getting-startedexample (both grants),authenticationexamples (both grants),testingstub credential and the auth-code requirements note.getting-startedexamples (both grants, typed and dict),authenticationexamples (both grants, both spellings), the token-request description, and the note that the credential classes are shared across SDKs.authenticationexamples (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