Hi
Seems like Tesla have change the authentication for Tesla API.
This is already been discussed here:
https://tesla-api.timdorr.com/api-basics/authentication#get-https-auth-tesla-com-oauth-2-v-3-authorize
Tesla has deprecated the /oauth/token endpoint in favor of using auth.tesla.com