0

I'm trying to get oauth access token for a third party application, following documentation here. However, I always end up with a 404 error. I tried with different clients (python and postman), with different signature methods (HMAC and PLAINTEXT). I also tried to put the oauth_callback as a request param (against offical doc, but I saw that in another tutorial) but it didn't help either. I'm attaching a screenshot displaying the python script used and the output showing the correctly constructed Authorization header (I'm not sure if I should put the /index.php in the BASE_URL so I tried both). Also, I (obviously) anonymized the key and secret after execution.

enter image description here

I've been struggling with this for a few days now, any help will be really appreciated.

Thank you.

0

1 Answer 1

0

Found out what the problem was: the API url must contain the country code, so for example: https://domain.com/en/oauth/initiate

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.