mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-05 14:19:19 +00:00
Add devcontainer config (basically copy of existing docker compose setup)
This commit is contained in:
parent
608b543353
commit
d1c3dee3ce
10 changed files with 450 additions and 0 deletions
11
.devcontainer/ory/kratos/twitch.data-mapper.jsonnet
Normal file
11
.devcontainer/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