mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-01 12:39:18 +00:00
Initial commit
This commit is contained in:
commit
a74e7f3ebd
84 changed files with 11089 additions and 0 deletions
11
docker/ory-dev/ory/kratos/twitch.data-mapper.jsonnet
Normal file
11
docker/ory-dev/ory/kratos/twitch.data-mapper.jsonnet
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
local claims = std.extVar('claims');
|
||||
|
||||
{
|
||||
identity: {
|
||||
traits: {
|
||||
[if 'email' in claims && claims.email_verified then 'email' else null]: claims.email
|
||||
},
|
||||
metadata_public: claims,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue