Fix VW ID login (#6509)

This commit is contained in:
andig 2023-02-28 10:34:15 +01:00 • committed by GitHub
parent b6e3d1d9fe
commit afcb5899a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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{

View file

@ -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 {

View file

@ -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"},