newuser-290b7de4-30ef-471b-b364-d844c31c11a2 avatar image

Access denied - Login With Amazon (LWA) in Android

I'm using Login with Amazon SDK (LWA) in my Android app. I've encountered an issue yesterday. When attempting to sign in with Amazon, the browser opens up and immediately gets closed and returns to the app. Here's the error :

E/ContentValues: AuthError during authorization
AuthError cat= INTERNAL type=ERROR_SERVER_REPSONSE - Error=access_denied error_description=User not authenticated
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

But once the user signs in to amazon from browser in phone, then Login With Amazon works even after the user signs out of it. Here's the version we're using :

public interface {
public static final java.lang.String VERSION = "3.5.3";
public static final java.lang.String VERSION_NAME = "LWAAndroidSSO";
public static final java.lang.String LWA_VERSION_NAME = "LWAAndroidSDK";
public static final java.lang.String LWA_VERSION = "3.0.2";

I even downloaded the Android sample app from Amazon website, it's the same behaviour. Please help!

login with amazonandroid
10 |5000

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

0 Answers