Closed hjespers closed 10 years ago
Thanks for notifying me!! Actually I'm unaware of an option to revoke a token. I've logged on again, which should regenerate it, but I'm not sure whether I should prevent access to the car for the time being (from inside the car)? I'll do that as a precaution for now...
I don't think you can revoke a tesla portal token and once generated they work for quite a while (30-90 days I think).
I ended up changing the password (just to see if it mattered) and then the existing token seems to have stopped working. Tesla confirmed that the tokens should become revoked.
You might want to add 'cookie-jar' into your .gitignore so as not to expose your Tesla authentication cookies on the public internet.