Skip to content

DoctorMcKay/chromium-tesla-token-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Access Token Generator for Tesla

There are a number of useful third-party services and apps that integrate with Tesla vehicle and energy products, but as of yet Tesla doesn't have an OAuth API that's open to the public. The only way to get access to Tesla product data, therefore, is using an authentication token.

This extension for Chrome and Chromium based browsers enables you to get those tokens easily and safely. All communication goes directly to tesla.com; in fact, auth.tesla.com is the only origin declared in the extension's manifest so Chromium's security model prevents sending credentials or any other data to any server besides Tesla.

Why is the extension requesting access to read my browsing history? Because of the way that Tesla's authentication server works, it's necessary to watch your browsing traffic to detect when the login has completed. This particular login request is the only thing that the extension is watching for.

Once you have the extension installed, click the Access Token Generator for Tesla button on your toolbar to get started.

This extension is not endorsed by or affiliated with Tesla, Inc.

About

Enables you to get access tokens for use with Tesla APIs

Resources

License

Stars

Watchers

Forks