question

danielkruegercs avatar image
danielkruegercs asked

Authorization request with Scope=dash:replenish

Hello,

I'm trying to do an authorization request by calling:

https://www.amazon.com/ap/oa?client_id=amzn1.application-oa2-client.b95b5bc4c1e54ee6be6fd5c34b21e332&response_type=code&redirect_uri=http://localhost:9400/&scope=dash:replenish&device_model=krueger_testModelID&serial=B00LH3DMUO&is_test_device=true

I then see the Amazon site where it says do you grant this app permission to reorder using Amazon Dash? When I enter my data and click ok, this site appears:

https://www.amazon.com/ap/oa?appActionToken=5Bowkq97YOa2XoA8iAYfF4JV5sIj3D&appAction=actionField&savedParameters=eyJwIjoiSGFjMGxMaW1wVkpiRUdvVWVqcE50cnJINTBTanczV0hnTDM0a3M1UDE0QWhpTGdRenpWSGdmSDFJMFU2QytvWGg0RTZ2ZWtVUWNyZlVkdURDNmpsME80MHNxMHNybXJMblNpTnpnTmVjWWFFZGFGak9mUU1keTdoTm0wYlNITDVIQWtrOTkyZ25lRksvMjZTTG5KMmVsRUtQaW5CcDQyVEl6YkpCbXZvV2JLWGhlS09jQWdrMzUwb0hHQ0UrVENEWUV0aG1GNWVsbEhnTjJJMGd2S0VKVm0zSEJqVk9jYlV0RmIzam84ZENsUXV5VXp4SmxpR0dDclJ6RUhPdHdyUTcwb01TbXhYdklzWTUzbWp5cUdQLzdTTmF3eUNFdEh5OGJENCtpSWN1WDhKSCtEeU1mKzE0QTlLS0QzR3Mwd2hRK3o5RXlnQndua1pSU2JYUENmTTNzZkJzRS9mS0Q3eXZndURZZ1dlZWo2UnVVaVZiWk5JVmp1VnluZ1puUDlCZ0d6ZlRNZzVkd3ZDN3I4dVpyd095NFlvY1pKWFB3S1JvbXdOaVRHOUtjRUMra2xxMk85SFNlRHRURGtISFZucDMyZkdaYVJpZWY1R3JzQVRQRW15bG16dXhvZ0YxUjUvaW82QURMVVdta2crWkxZVEN0TTZPVW1LQnFlMWIxeWs5bFl0a2JHMGltcy9rR0d3MkdsYm9HdXZub0UzTnBzVzlFOTNBQlhvYnlKZjZs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VUkd4Qjdkb0JpNkN6TVBOQU9YanJVdzVPUkg1RElBelpuVDNtRlduWT0iLCJpIjoiTDRHbUtqeGJZaHhEM3pRM0hqam5QUT09IiwicyI6IkV5UFdickd4ZUxsd1E4MS9kV29ucFhMQXVYUUF0YS9uUGQvMXVLZkcxakk9IiwiZXYiOjEsImh2IjoxfQ&aToken=5|13ga%2Bcv4UN5mUYna%2B9UXtozySeiDi3KTqN7afDTU4lPnZkTz1hRUO8MA6AayNzckFKx%2BEco%2FHMQpHrgRTN%2BP4Cvb%2Bp98pbpeHdKkQCr6W%2B1eu%2FCDVWGOhVXzL3FEfHl%2FLtwtMfMk4FiLjfCtZ6UMx%2FLb5WqlEN8%2FOnCl6oCafXjAJ%2BDKki5UYroxstwj49YrPYvR1wvjTxcTGT9MJLDMLodXiwvlREd25jJ7yn4ZqJQLKu89fw0TgyRRxAH0yjnxR1EbS%2Bf6i2%2Fr7lxfjCDX4TN5uML%2F2%2FI7&openid.pape.auth_policies=http%3A%2F%2Fschemas.openid.net%2Fpape%2Fpolicies%2F2007%2F06%2Fnone&language=de_DE&consentApproved=

It says Amazon is working on this. Is there a workaround yet? Did I do something wrong? I thought maybe it's because my redirect URI begins with http. But when I try "regular" LWA with scope=profile it redirects nicely to my redirect URI with the authorization code in the parameters.

Thank you!

With kind regards,

Daniel Krueger

login with amazon
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Bcarbs avatar image
Bcarbs answered

Hey Daniel, did you have any luck resolving this? I'm running into the same issue with scope=dash:replenish

1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.