question

D. Michalak avatar image
D. Michalak asked

Redirect URI issue with REST API for Android

I'm developing an Android application and am having an issue redirecting the user to the login page so that I can get the code that is exchanged for a token. It seems that my login URL is correct except for the redirect uri. When the page loads, the error summary states the following: 400 Bad Request The redirect URI you provided has not been whitelisted for your application I have gone through the white list process and already received an email conformation that the URI was whitelisted. The URI I submitted to be whitelisted is http://localhost Any suggestions on how to proceed?
amazon drive
10 |5000

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

Jamie Grossman avatar image
Jamie Grossman answered
Hi there, It sounds like you have done everything correctly, but as this issue is local to your app, I suggest contacting the team directly here for further assistance: clouddrive-api-support@amazon.com Regards, Jamie
10 |5000

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

rambalac avatar image
rambalac answered
Amazon documentation is incomplete. You have to go to "Login with Amazon" in your developer console and create there web application where you can add Redirect URIs. Be careful though, even slash in the end should match.
10 |5000

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