Hey all. So I've been desperately trying to implement Login With Amazon in an app for many months, and it just seems to be incredibly flaky.
To start with, we were using the Android SDK. It *does* log the user in, once logged in it's impossible to switch to another account - if you log out, and log back in again, it just authorises you with the previous account without ever giving you the opportunity to switch accounts. Even when logging out of all Amazon apps on the device, it still seems to remember the session.
However, it seems that this doesn't work either.
So, I follow the advice (it says all new implementations must follow the Authorisation Code grant) - and use the example code here: https://developer.amazon.com/docs/login-with-amazon/authorization-code-grant.html (under Option 2: Browser-based apps)
login1.js:57 Uncaught TypeError: Cannot read property 'hash' of undefined at Object.va (login1.js:57) at l (login1.js:43) at I (login1.js:46) at A (login1.js:46) at Object.w.W (login1.js:53) at Object.window.amazon.Login.authorize (login1.js:63) at window.onAmazonLoginReady (audioflow-test.html:14) at login1.js:63 at login1.js:74
So i'm rather at a loss about this. Why does none of this framework actually work, and are people even using it successfully?