Parse, Read, Transform claims within IDP access token

code-surgeon 146 Reputation points
2020-08-12T21:25:44.82+00:00

Hello!
I was wondering if it is possible to parse, read and transform claims from within the IDP access token to a custom output claim and send it over to the relying party.
e.g. IDP (Azure AD) sends access token to B2C that has claim type of "roles". I want to read, transform, and output that as claim with a different type id, like extension_b2cRoles for example.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,907 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2020-08-12T23:03:15.7+00:00

    You can send the idp_access_token claim (containing the idp token) to a custom API trough a REST Technical Profile for its decoding and proccesing.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.