-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Client Metadata for Auth APIs #1289
Comments
Hello @miguelflores1993 - Assuming you are using Cognitio, you can use await Amplify.Auth.signUp(
username: username,
password: password,
options: CognitoSignUpOptions(
// these values will be saved in Cognitio and associated with the user
userAttributes: {
CognitoUserAttributeKey.email: email,
CognitoUserAttributeKey.name: 'name'
},
// available in post auth lambda triggers
clientMetadata: {
'foo': 'bar',
},
),
); |
The docs have an example with user attributes under Register a User. Client metadata isn't mentioned in the amplify-flutter docs. I am going to label this as a docs issue as well. |
@Jordan-Nelson I tried to use |
@dorontal - Yes that should be correct. The API was updated in (I think) v0.3.0. If you are using 0.2.10 or earlier I believe @miguelflores1993 - Let me know if that answered your question, and I can update this issue to just track it as a documentation gap. |
Marking as a documentation issue. We should add the client meta data option to https://github.com/aws-amplify/docs |
I want to send parameters or custom data apart from what the function asks me for.
Amplify.Auth.signIn
The text was updated successfully, but these errors were encountered: