Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (4k points)
I am using a web application and AAD B2C for authentication purposes. How can I add a claim to find the username that was used to sign up?

1 Answer

0 votes
by (9.6k points)
edited by

You can retrieve the username by making a call on AD graph API. That is the only way to work around it as Azure has as of now not made it available for the username to be passed down as a claim. 

An extra trip will have to be made to retrieve the username, which is an issue that may be solved by including the username in the JWT itself. 

If you want to learn more about AZ-104 certification, you can check this course out.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Feb 24, 2021 in Azure by dante07 (13.1k points)
0 votes
1 answer
asked Jan 16, 2021 in Azure by dante07 (13.1k points)

Browse Categories

...