Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 v1 is deprecated. #23

Closed
Palmke opened this issue Jun 20, 2022 · 8 comments
Closed

404 v1 is deprecated. #23

Palmke opened this issue Jun 20, 2022 · 8 comments

Comments

@Palmke
Copy link

Palmke commented Jun 20, 2022

I'm getting the following error when trying to authenticate and get a fresh token:
"404 v1 is deprecated."

@ianjwhite99
Copy link
Owner

Hi @Palmke, looks like Ford made some changes to their authentication service. I'm working on implementing the new changes! 😄

@ianjwhite99
Copy link
Owner

ianjwhite99 commented Jun 21, 2022

v1.2.5 has just been released and the issues you experienced while trying to authenticate and generated a refresh token should now be fixed. Please test and confirm. Thanks, Ian.

@Palmke
Copy link
Author

Palmke commented Jun 21, 2022

Right now I am getting the following message from this PUT: https://github.com/ianjwhite99/connected-car-node-sdk/blob/stable/src/Authentication/OAuth2Client.ts#L113
404 Resource Not Found: "{ "statusCode": 404, "message": "Resource not found" }"

Region is EU btw

@sauravkumal
Copy link

same issue 'https://api.mps.ford.com/api/token/v2/cat-with-ci-access-token' Resouce not found

@Palmke
Copy link
Author

Palmke commented Jun 21, 2022

Had a look and as far as my Android app reverse engineering skills go, it got changed to a POST.
I get tokens again when not using PUT, but using POST.

@ianjwhite99
Copy link
Owner

@Palmke
Copy link
Author

Palmke commented Jun 21, 2022

It seems they're still learning oauth over at Ford. While I don't get why they changed the endpoints with such weird names, at least now it uses a proper POST to get a token ;)

@ianjwhite99
Copy link
Owner

It seems they're still learning oauth over at Ford. While I don't get why they changed the endpoints with such weird names, at least now it uses a proper POST to get a token ;)

I know right...the dev's over at Ford are finally starting to read the OAuth 2 specs 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants