ardevd / jlrpy

Python library for interacting with the JLR Remote Car API
MIT License
84 stars 29 forks source link

refactor: updated API authentication information. #117

Closed ardevd closed 7 months ago

ardevd commented 7 months ago

added new required headers for InControl API access.

Fixes #116

z7x commented 7 months ago

Beautiful, my "Siri, start my Jaaaag" shortcut is back up and running again 💪🏼

PS. is the "app-secret" always the same?

christof-sohn commented 7 months ago

Thank you very much, do you have any idea what this change is all about? Why is JLR doing this?

ardevd commented 7 months ago

Beautiful, my "Siri, start my Jaaaag" shortcut is back up and running again 💪🏼

PS. is the "app-secret" always the same?

Yep, though there is a separate one for the Land Rover equivalent vehicles but they both work interchangeably.

ardevd commented 7 months ago

Thank you very much, do you have any idea what this change is all about? Why is JLR doing this?

I have no official word. I could presume JLR wants to clamp down on third party apps in the name of control and security, but it's such a lazy effort that it's almost hard to believe.

z7x commented 6 months ago

It looks like something changed again yesterday between 11 and 11:30 am. The "loginuser" requests worked in the morning and now I get the same error "ProxyAuthorizationRequired" Code 407 as before. So I wonder if JLR will change the "app secret" every two weeks or what 🤬

ardevd commented 6 months ago

Yeah I'm looking at it. A bit more complicated this time due to all the measures put in place in the app to prevent snooping.