Azure-Samples / ms-identity-ciam-javascript-tutorial

CIAM JavaScript samples
MIT License
26 stars 37 forks source link

This sample app performs 2 things #81

Open 4gust opened 4 months ago

4gust commented 4 months ago
  1. Patch graph api, which helps to update user information using @me
  2. MFA through conditional access which can be used to gate some sensitive action

Purpose

  1. Added a new sample that demonstrate usage of /me endpoint by updating the user information through patch request. more information can be found here : https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http
  2. This sample also demonstrate how to trigger a custom MFA. In this case we have triggered a MFA on profile update

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
npm start

What to Check

Verify that the following are valid

Other Information