Hi All,
We are trying to capture the id token that gets generated while a custom policy is executed. Is there any way we can assign it to a claim and use it in the custom policy. we could infer from the application insights that id token is present in the ValidationResponse of "login-NonInteractive" technical profile.
Logs:
""ValidationResponse"": {
""ContentType"": ""Json"",
""Created"": ""2019-12-06T07:29:26.216Z"",
""Key"": ""ValidationResponse"",
""Persistent"": true,
""Value"": ""{\""token_type\"":\""Bearer\"",\""scope\"":\""user_impersonation\"",\""expires_in\"":\""3599\"",\""ext_expires_in\"":\""3599\"",\""expires_on\"":\""1575620966\"",\""not_before\"":\""1575617066\"",\""resource\"":\""57caffef-83ff-49af-ba39-4e539cb78494\"",\""access_token\"":\"""",\""refresh_token\"":\"""",\""id_token\"":\""***.\""};1;login-NonInteractive;False""
},
Thank you for checking!