Skip to content Skip to sidebar Skip to footer

Creating User Using Aws Cognito Identity

I am learning to create a serverless API server using AWS lambda, dynamodb, cogito sync. It was going well until I got confused with users table. So basically, I am trying to make

Solution 1:

It sounds like you're using Cognito User Pools, in which case you can use the GetUser API. Given context for the user, it will return all attributes stored against that user.

I can't comment on the best way to store user metadata as it will vary greatly based on the specifics and needs of your app, but it's probably worth reading up on Cognito's system of custom attributes, which lets you store custom data against users. These can be configured/added from the Cognito console.

Post a Comment for "Creating User Using Aws Cognito Identity"