~mna/straw

b0209209fcdbef033e3369655913d8b9d1c2b1c5 — Martin Angers 1 year, 6 months ago 6be2eb0
doc: more auth user pool config
1 files changed, 33 insertions(+), 0 deletions(-)

M doc/auth.toml
M doc/auth.toml => doc/auth.toml +33 -0
@@ 1,5 1,25 @@
# TODO: no SMS support for now

name = "pool_name"
mfa = "on|off|optional"
alias_attributes = ["email"]
username_attributes = []
auto_verified_attributes = []

[verification_message]
  default_email_option = "CONFIRM_WITH_LINK"
  email_message = ""
  email_subject = ""

[admin]
  allow_admin_create_user_only = true
  unused_account_validity = "3d"
  invite_email_message = ""
  invite_email_subject = ""

[device]
  challenge_required_on_new_device = true
  device_only_remembered_on_user_prompt = true

[tags]
  x = "y"


@@ 23,3 43,16 @@ mfa = "on|off|optional"
  user_migration = "fn_id"
  verify_auth_challenge_response = "fn_id"

[[schema_attributes]]
  data_type = "Boolean|Number|String|DateTime"
  developer_only = false
  mutable = true
  name = ""
  required = true
  # for strings
  min_length = 3
  max_length = 10
  # for numbers
  min_value = 1
  max_value = 10