plain-train-22535
08/07/2023, 9:08 AMprofile
back from Google with claims.given_name
and a nested name: {first, last}
identity schema, how do I assign the values across? I tried name.first: claims.given_name
but that does not seem to parse as jsonnet correctly…bland-eye-99092
08/07/2023, 9:11 AMlocal claims = std.extVar('claims');
{
identity: {
traits: {
name: {
first: ...,
last: ...,
},
},
},
}
In the end, jsonnet produces a Json document so the structure is quite similar to just plain old Json.proud-plumber-24205
08/07/2023, 9:14 AMplain-train-22535
08/07/2023, 9:21 AM