question

xs2bharat avatar image
xs2bharat asked

How to reset or unlink account linking programmatically after 3 incorrect attempts

How to reset or unlink account linking programmatically after 3 incorrect attempts


The Security Testing Checklist (reference: https://developer.amazon.com/docs/custom-skills/security-testing-for-an-alexa-skill.html ) includes a test 2.4.4, which requires: "After three consecutive incorrect voice code attempts, the skill instructs you to reset your voice code. Attempting a fourth request with the original, correct voice code now fails."

In order to comply with this requirement, I am currently instructing the user to unlink their account, as our account-linking page is where the user sets their unlocking PIN. However, I cannot find a way to unlink/request that Amazon unlinks the user's account programmatically. The most I can do is keep track of the number of times the user speaks an incorrect PIN and suggest that they disable the skill (to un-link their account) and re-enable the skill and then link their account with a new PIN. This is a less-than-ideal user-experience.

alexa skills kitaccount linking
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

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hello @xs2bharat and thank you for your message.

As you mentioned in another thread, this is now possible by the usage of the Alexa Skill Activation API.

I'm assuming that the message in the other thread came after the one here.

Regards,
Barry

10 |5000

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