Cristiano avatar image
Cristiano asked

Account linking: oauth credentials management

Hi everyone,

I'm developing a new Smart Home Skill to interact with an intercom.

I have a basic implementation and after the user completes account linking I store OAuth credentials using DynamoDB. I would like to clarify a couple of scenarios:

  1. even if it is a remote hypothesis, a single Service account (an account of my intercom system) can be linked to multiple Alexa accounts. Should I store a list of credentials for each of my user?
  2. I would like to clear my storage when a user disable the skill. How can I be notified of skill disabling? I tried events but I didn't find any way to understand which credentials delete

Thank you!

account 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.

0 Answers