Skip to content

Latest commit

 

History

History

UseUserInfoForEmailClaim

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

Use AAD UserInfo for email claim

Policy is based on ForceAADWhenAvailable. Additionally it gets the AAD user id_token and then uses it with a REST function to get user's email from the AAD UserInfo endpoint (email address may not be returned in the id_token, depending on AAD setup).

Adding sample to your policy set

Use IefPolicies module with the following command

Add-IefPoliciesSample UseUserInfoforEmailClaim -owner mrochon -repo b2csamples