Iam developing a sample Android app which helps me in subscribing for Amazon products using DRS. I integrated LWA sdk and coded similar to sample code. I am able to login and view my device slot. On successful suscription, I am receiving a mail from your side confirming my successful suscription. But everytime I receive callback on onError method of AuthorizeListener. Logs says insufficient scope sent to server. Can you guys please tell me how to generate code verifier and code challenge method.
The errorcode I receieve is:
AuthError cat= INTERNAL type=ERROR_SERVER_REPSONSE - com.amazon.identity.auth.device.AuthError: Error=invalid_code_challenge_method error_description=An unknown code challenge method was requested