Skip to content

Commit a17f78f

Browse files
authored
Merge pull request #29 from dc-morris/fix/partner-login-default-scope
Fix partner_login default scope for energy-only partners
2 parents 7b4f7eb + 8ee5b2c commit a17f78f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tesla_fleet_api/tesla/fleet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async def partner_login(
189189
self,
190190
client_id: str,
191191
client_secret: str,
192-
scopes: list[Scope] = [Scope.VEHICLE_DEVICE_DATA],
192+
scopes: list[Scope] = [Scope.OPENID],
193193
) -> dict[str, Any]:
194194
"""Generate a partner token using client credentials authentication.
195195

0 commit comments

Comments
 (0)