mirror of
https://github.com/paralus/paralus.git
synced 2026-08-19 19:36:15 +00:00
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>
54 lines
1.2 KiB
JSON
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
|
|
}
|
|
}
|
|
}
|