[On behalf of: Lurey Solutions]
Hi Amazon
I'm trying to trade an authorization code for an access token.
The application backend is posting to: https://api.amazon.com/auth/o2/token with the following x-www-form-urlencoded parameters: code (received via prior redirect/callback) grant_type ('authorization_code') client_id / client_secret (as per the application created)
However, I get 'invalid_request', ''The request is missing a required parameter : redirect_uri" every-time. I've read your developer guide for web (https://images-na.ssl-images-amazon.com/images/G/01/lwa/dev/docs/website-developer-guide.TTH.pdf) at least half a dozen times and nowhere does it refence that /o2/token requires a redirect_uri parameter (and anything I try to pass to it still fails). Am I using an outdated version of the SDK/Documentation, or is there something simple I'm overlooking here?