问题
Using AAD B2C, I'd like to enable end-users to login using their Microsoft-Live or Google identity providers (delegate the authentication). However, I have a set of custom claims in AAD B2C for my users (some roles, for example). So, once the user authenticates into google, I need to add or "map, merge" the claim set with this user's custom claims in AAD B2C and return the consolidated claim-set to my application.
My question: where can I add or map these claims in the claimset returned by AAD B2C? In some Identity Providers this is possible using filters. Not yet finding the feature in AAD B2C, pointers?
EDIT: found this: - https://aadguide.azurewebsites.net/claims/#claim-augmentation-/-enrichment
来源:https://stackoverflow.com/questions/54324139/aad-b2c-adding-mapping-claims-from-external-delegate-identity-provider