Files
paralus/_kratos/identity.schema.v1.json
Akshay GaikwadandGitHub c4ac043b5e feat: Support more than one IdP groups mapping (#172)
Allow mapping more than one IdP groups to an OIdC identity. This
commit upgrades the kratos version (v0.11.0). Kratos v0.11.0 parses
all id token claims into `raw_claims`. The `raw_claims` can be used in
JsonNet mapper to map non-standard claims like `groups` to identity
traits.

Fixes #109

This also includes:
* Remove verbose bug debug logs
* Removes elasticsearch service from docker compose file

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2023-03-30 12:43:57 +05:30

54 lines
1.2 KiB
JSON

{
"$id": "https://schemas.paralus.io/email-password/identity.schema.v1.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"first_name": {
"title": "First name",
"type": "string",
"pattern": "^.*$"
},
"last_name": {
"title": "Last name",
"type": "string",
"pattern": "^.*$"
},
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
"idp_groups": {
"type": "array",
"title": "IDP groups",
"items": {
"type": "string"
}
}
},
"required": [
"email"
],
"additionalProperties": false
}
}
}