This message was deleted.
# aws
s
This message was deleted.
e
If anyone is also suffering this - the reason is because the schema is immutable. I've managed to solve it by destroying my user pool and then re-creating it with the schema containing the attributes I want to be required:
Copy code
schemas: [ {
      name: "email",
      attributeDataType: "String",
      mutable: true,
      required: true
    }, {
      name: "name",
      attributeDataType: "String",
      mutable: true,
      required: true
    }, {
      name: "account",
      attributeDataType: "String",
      mutable: true,
      required: false
    } ],