stale-petabyte-47458
03/07/2024, 9:43 AMmicrosoft
and we can't seems to extract the claims. The scope we used are openid
, email
, and profile
. Please see thread for the setup.stale-petabyte-47458
03/07/2024, 9:43 AM{
"client_id": "client_id",
"client_secret": "client_secret",
"id": "microsoft",
"label": "Microsoft",
"mapper_url": "<https://storage.googleapis.com/bac-gcs-production/27e416b3e53f417a8b3c4744836f6b4a6adda0679c018d082445a189bc251671540d8113c80a318c66de67ab664dca8b5b0836558828c2804a00b2424d0de253.jsonnet>",
"microsoft_tenant": "microsoft_tenant",
"provider": "microsoft",
"scope": ["email", "profile", "openid"],
"subject_source": "userinfo"
},
stale-petabyte-47458
03/07/2024, 9:44 AMlocal claims = std.extVar('claims');
{
identity: {
traits: {
[if 'email' in claims then 'email' else null]: claims.email,
},
},
}
stale-petabyte-47458
03/07/2024, 9:45 AM"@ory/client": "^1.1.38",