My question is regarding the code_verifier parameter that is mentioned in the Authorization Code Grant & Request New Refresh and Access Tokens sections of the using the LWA Web API documentation: https://developer.amazon.com/public/solutions/devices/dash-replenishment-service/docs/dash-lwa-web-api
In both sections the code_verifier parameter appears as part of the HTTP Body Parameters but is not included in the sample request code for either section.
I do not use the code_verifier during the Authorization Code Grant POST request and it works without a glitch. I receive the access and refresh tokens every time.
I imagine the code_verifier parameter could also be omitted for the Request New Refresh and Access Tokens POST request.
Having said all of the above, I must ask; Is the code verifier parameter mandatory for using the LWA Web API?