14

Is it appropriate to combine Cognito identity management with Dynamo DB?

I would like to authenticate users with Facebook, which I can do with Cognito and then store user related data in a DynamoDB table.

What information would I use from Cognito as a primary key for my table to guarantee unicity? Or should I simply use the facebookId that I can get with the graph API?

4

1 回答 1

6

您可以使用 cognito 身份 ID 作为 DynamoDB 表的哈希键,查看此问题以获取示例 IAM 策略。

于 2014-10-29T16:49:57.720 回答