问题
I am right now using Microsoft Authentication with Owin and Azure AD.
I want to add a custom claim (not one of the optional ones you can choose in AAD), and be able to assign my own value to this claim, before login with Microsoft, so the claim gets associated with my Authentication login with Microsoft. This is because I want to be able to access this claim at a later stage in my application after login.
Is this possible?
来源:https://stackoverflow.com/questions/62532800/adding-claims-to-azure-ad-authentication