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
userAttributes "fullname" doesn't show up in amplify_outputs.json #1472
Comments
Hey, thank you for reaching. Was able to reproduce the behavior. Marking as bug. Note: Cogntio attribute mapping on CDK lib: https://github.com/aws/aws-cdk/blob/v2.140.0/packages/aws-cdk-lib/aws-cognito/lib/private/attr-names.ts#L10 |
ykethan
added
bug
Something isn't working
auth
Issue pertaining to Amplify Auth
and removed
pending-triage
Incoming issues that need categorization
labels
May 9, 2024
I think export const auth = defineAuth({
loginWith: {
email: true,
},
userAttributes: {
preferredUsername: {
mutable: true,
required: true,
},
address: {
mutable: true,
required: true,
},
birthdate: {
mutable: true,
required: true,
},
gender: {
mutable: true,
required: true,
},
givenName: {
mutable: true,
required: true,
},
familyName: {
mutable: true,
required: true,
},
locale: {
mutable: true,
required: true,
},
middleName: {
mutable: true,
required: true,
},
fullname: {
mutable: true,
required: true,
},
nickname: {
mutable: true,
required: true,
},
phoneNumber: {
mutable: true,
required: true,
},
profilePicture: {
mutable: true,
required: true,
},
profilePage: {
mutable: true,
required: true,
},
website: {
mutable: true,
required: true,
},
timezone: {
mutable: true,
required: true,
},
lastUpdateTime: {
mutable: true,
required: true,
},
},
});
"standard_required_attributes": [
"email",
"phone_number",
"preferred_username",
"address",
"birthdate",
"gender",
"given_name",
"family_name",
"locale",
"middle_name",
"nickname",
"picture",
"profile",
"website",
"updated_at"
// should have "zoneinfo" and "name"
] |
export default withAuthenticator(App, {
signUpAttributes: ["name"],
}); |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment information
Description
amplify_outputs.json
Attributes did not conform to the schema: name.formatted: The attribute name.formatted is required
The text was updated successfully, but these errors were encountered: