-
-
Notifications
You must be signed in to change notification settings - Fork 58
Obtaining Tokens (As of 25 05 2024)
Warning
Although I have tested this locally, I can't guarantee the method will last as Ford are consistently making changes!
Note
This requires the 1.70 branch as this has not been fully detected you will need to manually grab the files to test
- In Home Assistant: Enter your Fordpass username and choose the region you are from
- Copy the URL that has been generated and visit it in your browser.
Important
Ensure you have Developer tools enabled before pressing "log in" as you will be required to capture a header once logged in!
🔗 Chromium based dev tools helper (Chrome / Edge)
🔗 Firefox dev tools helper
-
Log in to your Ford account
-
Using the browser tools select the
Network tab
of the web console and view the headers section.- You are looking for the contents of the "Location Header" as shown in the pic below
(Make sure you copy the raw output and not the wrapped text)
- The output should look similar to the following string, starting with
fordapp://
: fordapp://userauthorized/?code=eyJraWQiOiItSm9pdi1OX1ktUWNsa***************************
- You are looking for the contents of the "Location Header" as shown in the pic below
- Ensure you capture the entire string and enter it into the text box.
Note
The website will not fully load. The login page will just continue to spin. It is at this point you are able to obtain the code by using the browser tools.
- Once you've entered the token, the integration should go off and get you a new set of tokens and then ask what vehicles you want to add.