Reset tesla_auth #61
-
I'm using the macOS precompiled binary. I signed in once using my Tesla email/password and was able to generate an access + refresh token. Now every time I run the program again, it gives me a new access + refresh token without the opportunity to sign in to another account. I have a couple of questions that I hope the community can help with:
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In macOS each application's WebViews have their own persistent cookie storage. That's why it keeps you logged in to your Tesla Account and immediately generate a new token pair. I am not aware of any way to programmatically purge the cookies of a WebView. But I will release a new version that will allow manual deletion of cookies via right click > |
Beta Was this translation helpful? Give feedback.
-
That's fantastic, thank you @adriankumpf! |
Beta Was this translation helpful? Give feedback.
In macOS each application's WebViews have their own persistent cookie storage. That's why it keeps you logged in to your Tesla Account and immediately generate a new token pair.
I am not aware of any way to programmatically purge the cookies of a WebView. But I will release a new version that will allow manual deletion of cookies via right click >
Inspect Element
>Cookies
.