how can I test DRS device without access token?
either you are doing test purchase or a real purchase... To use Amazon DRS ... you needs to do LWA process followed by getting auth code and change it for get refresh token... Access token can be generated from refresh token any time.. but without access token its not possible to access Amazon DRS by device..
if you are finding a easiest and very low cost way for integrating Amazon DRS than my one of the following project may be useful to you..
Thanks for your reply, also, nice project! I'm stuck at getting the AuthCode.
I keep getting the error https://aarons2222.github.io/drs-handle-login.html?error_description=An+unknown+scope+was+requested&error=invalid_scope
any ideas on this? thanks
please check following...
1. Have you used same redirect uri while creating DRS Device?
2. Have you properly encoded redirect uri during LWA process?
following is example of LWA request..check for proper encoding in your case.. change client ID, replace your productID at yourproductidcode and Serialno at yourdeviceserialno and change redirect uri at last...
No one has followed this question yet.