Fix VW ID login (#6509)
This commit is contained in:
parent
b6e3d1d9fe
commit
afcb5899a4
3 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
BaseURL = "https://login.apps.emea.vwapps.io"
|
||||
BaseURL = "https://emea.bff.cariad.digital/user-login"
|
||||
)
|
||||
|
||||
var Endpoint = &oauth2.Endpoint{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import (
|
|||
// https://customer-profile.apps.emea.vwapps.io/v1/customers/<userId>/realCarData
|
||||
|
||||
// BaseURL is the API base url
|
||||
const BaseURL = "https://mobileapi.apps.emea.vwapps.io"
|
||||
const BaseURL = "https://emea.bff.cariad.digital/vehicle/v1"
|
||||
|
||||
// API is an api.Vehicle implementation for VW ID cars
|
||||
type API struct {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"github.com/evcc-io/evcc/vehicle/vag/loginapps"
|
||||
)
|
||||
|
||||
const LoginURL = loginapps.BaseURL + "/authorize"
|
||||
const LoginURL = loginapps.BaseURL + "/v1/authorize"
|
||||
|
||||
var AuthParams = url.Values{
|
||||
"response_type": {"code id_token token"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue