Comments (3)
Hi Rohit-
You actually create your user's profile attributes and push them to a list array in their entirety prior to calling "signUp" to create the user. This is shown in the primary client-side Cognito User Pools SDK at https://github.com/aws/amazon-cognito-identity-js, under "use case 1" and can also be found in our project under app/src/services/account-management.service.ts. Note that you can also go and update any attribute (except for the primary username) after initial user creation, but it's best to set them all up at once upon first sign-in then only adjust them as the user updates them in a "my profile" page or something similar.
Hope this helps.
Justin
from aws-serverless-auth-reference-app.
@justonian i am trying add profile picture to the user profile, any possible way i can do that during signup?
from aws-serverless-auth-reference-app.
Hi Rohit- For that, you would want to use an attribute for the image URL as part of the Cognito User Pools profile information (or a separate profile info DynamoDB table). Since you'd ideally store this in S3, it'd be best to first have users sign-up so you then have their unique ID, then use Cognito Federated Identities to assume an IAM role that allows the user restricted access to view and upload profile pictures, but only to the sub-path of the S3 bucket that matches their unique ID prefix. If you check out the video linked from the main page of the project, you can see more examples of this scenario there as this project has a "upload profile picture" component within.
Justin
from aws-serverless-auth-reference-app.
Related Issues (20)
- Side menu version HOT 1
- CAN'T CONVERT IONIC TO PWA..!!
- regenerating sdk causes issues HOT 3
- How can you add a second IdP without losing roles logic?
- "Bookings" failed on showing booked resource list-Run in a web browser HOT 1
- Store Login data and auto login
- Tighten Up Lambda Execution Role Policy By Using Policy Variable (identity ID or Subscriber ID) Fine-Grained Access to DynamoDB HOT 5
- Can not connect using putty and ec2-user HOT 6
- Is the user information in account-management.service.ts secure?
- AWSCognito is not defined in account-management.service.ts
- lambda wrapper functions break any Promise returns
- api create_sdk command fails HOT 2
- Token refresh
- Cannot run gulp deploy HOT 2
- Generated Java API SDK has lots of Syntax errors HOT 2
- Could you provide some sample Java code for Cognito UserPool Authorizer client
- Account Image is not persisted
- How can i get my temporary credentials for my federated Id token ? HOT 1
- gulp deploy fails on lambda creation - repo needs to be updated for supported nodejs version HOT 3
- Demo to migrate to AppSync and GraphQL?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-serverless-auth-reference-app.