ashishtank / MMM-MercedesMe

MIT License
2 stars 3 forks source link

API is stopt working #5

Open smartthinks opened 1 year ago

smartthinks commented 1 year ago

https://developer.mercedes-benz.com/content-page/migration_2022

Auth URL

old url: https://id.mercedes-benz.com/as/authorization.oauth2 new url: https://ssoalpha.dvb.corpinter.net/v1/auth Token URL

old url: https://id.mercedes-benz.com/as/token.oauth2 new url: https://ssoalpha.dvb.corpinter.net/v1/token

Butt if I chance them in the node_help.js its still not working.

ashishtank commented 1 year ago

Hi

This is work in progress. they did not only change the OAuth url but also changed the client app credentials and api scope requirements. I will update you once new version is available.

Lukelumia commented 1 year ago

I have created a Fix for this issue. Works for my Magic Mirror setup.

Please note I have fixed the singleDial as well & package.json

ashishtank commented 1 year ago

@smartthinks Please take latest branch and check if it works for you. I will update documentation to create new application in Mercedez website

smartthinks commented 1 year ago

Goodmorning,

thanks for the update, but for me it's still not working. When I want to authorize (authenticate) then I get a error message. Bad request Invalid client_id ("910****) See picture

Schermafbeelding 2022-12-07 om 11 57 48
smartthinks commented 1 year ago

@Lukelumia

I have created a Fix for this issue. Works for my Magic Mirror setup.

Please note I have fixed the singleDial as well & package.json

Please tell me How