microscopic-answer-24504
06/03/2022, 5:18 PMloud-spoon-23770
06/03/2022, 9:09 PMloud-spoon-23770
06/03/2022, 9:10 PMkratos.yml
file for example
identity:
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/kratos/identity.schema.json
magnificent-energy-493
{
"$id": "<https://schemas.ory.sh/presets/kratos/identity.email.schema.json>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"webauthn": {
"identifier": true
},
"totp": {
"account_name": true
}
},
"recovery": {
"via": "email"
},
"verification": {
"via": "email"
}
},
"maxLength": 320
}
},
"required": [
"email"
],
"additionalProperties": false
}
}
}
you can also find it here: https://github.com/ory/kratos/blob/master/contrib/quickstart/kratos/email-password/identity.schema.json