Comments (2)
Hi @blaataap,
If you want to register a new user with his phone number, you can do it with the optional userAttributes
parameter of the signUp method.
var dataPhoneNumber = {
Name : 'phone_number',
Value : '+15555555555'
};
var attrPhoneNumber = new AWSCognito.CognitoUserAttribute(dataPhoneNumber);
this.cognitoHelper.cognitoService.signUp('username', 'password', [ attrPhoneNumber ]).then(res => {
let signUpResult : AWSCognito.ISignUpResult = res.data;
}).catch(err => { });
from cognitoservice.
Iām closing this issue because it has been inactive for a few months.
Please reopen if you still encounter this issue.
from cognitoservice.
Related Issues (9)
- Several packages are locked to specific versions
- Some readme examples need cognitoHelper HOT 1
- Signout redirects to login route HOT 1
- This should say milliseconds? HOT 2
- Logging in with MFA does not set the Provider HOT 1
- Readme requires more steps than those provided HOT 2
- Angular 15
- User is not authenticated "Error" when changing password HOT 2
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 cognitoservice.