Closed ltouro closed 6 years ago
Also noted that is not possible to retrieve the E-mail address used during the SignUp through the A.D. Graph API. Is there any workaround for this?
The value is showed on the AD B2C dashboard of Azure Portal:
Hi @ltouro
The SelfAsserted-LocalAccountSignin-Username
technical profile can't output the email
claim because the login-NonInteractive
validation technical profile doesn't issue it.
Alternatively, you can add the email
claim as an output claim from the AAD-UserReadUsingObjectId
technical profile, so that it is read when the user object for the signed-in user is read.
@chrispadgettlivecom thanks for the feedback chris! Will try it
@chrispadgettlivecom I was able to ouput the email using InputClaimsTransformations as you described at this SO post.
By saving the E-mail on the otherEmails persisted claim, I'm able to retrieve it using the A.D. Graph API, which is very useful for my need.
Thank you very much for the multiple helps! 👍
I'm trying to ouput the E-mail claim when the user login with his Username but can't make it work.
I don't know which claim I should use. Tried these below separatelly with no success.
Any tips? Thanks!!
part of TrustFrameworkBase.xml
part of SignUpOrSignin.xml