TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Fabio Mercorillo
NA
2
756
Add Custom Property to User of Azure AD B2C
Feb 20 2019 5:35 PM
Hi all,
I create an ASP NET Core (2.2) Web Api (2.2) that render an angular (7) client app, using default template of Visual Studio 2017; it's work fine. After I added microsoft-adal-angular6 node module package to permit azure client authentication. So I create an Azure AD B2C and I have register new app. I have added same users (external user by email). I configure Web Application on StartUp to use JWT Token coming from Client app (services.AddAuthentication(AzureADDefaults.BearerAuthenticationScheme).AddAzureADBearer(options => Configuration.Bind("AzureAd", options));) and I decorated my controller with [Authorize]. It's perfectily work.
Now I need to add custom property to each users that i can read from ClaimsIdentity into my controller. For example one of this custom user property is "UserWeight" or "UserFiscalCode". I don't found how to do it.
Any ideas?
Reply
Answers (
0
)
How to add users to Active Directory from another domain?
Small Question About Posting An Article