Created
June 8, 2021 18:56
-
-
Save lucassimon/f1febb65355000f8c0bdfdb16ae0b4e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
identity: | |
default_schema_url: file:///path/to/default-identity.schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "Person", | |
"type": "object", | |
"properties": { | |
"traits": { | |
"type": "object", | |
"properties": { | |
"email": { | |
"type": "string", | |
"format": "email", | |
"title": "E-Mail", | |
"minLength": 3, | |
"ory.sh/kratos": { | |
"credentials": { | |
"password": { | |
"identifier": true | |
} | |
}, | |
"verification": { | |
"via": "email" | |
}, | |
"recovery": { | |
"via": "email" | |
} | |
} | |
}, | |
}, | |
"required": [ | |
"email", | |
], | |
"additionalProperties": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment