Seat: reduce required scopes

This commit is contained in:
andig 2021-10-23 11:00:09 +02:00
parent 00a127ec3e
commit 3f74987f02

View file

@ -52,7 +52,7 @@ func NewSeatFromConfig(other map[string]interface{}) (api.Vehicle, error) {
"response_type": {"code id_token"},
"client_id": {"50f215ac-4444-4230-9fb1-fe15cd1a9bcc@apps_vw-dilab_com"},
"redirect_uri": {"seatconnect://identity-kit/login"},
"scope": {"openid profile mbb cars birthdate nickname address phone"},
"scope": {"openid profile mbb"}, // cars birthdate nickname address phone
})
err := identity.LoginVAG("9dcc70f0-8e79-423a-a3fa-4065d99088b4", query, cc.User, cc.Password)