Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This sample app performs 2 things #81

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

4gust
Copy link
Contributor

@4gust 4gust commented May 9, 2024

  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

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
npm start
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

1. Patch graph api, which helps to update user infromation using @me
2. MFA through conditional access which can be used to gate some sensitive action
@4gust 4gust marked this pull request as draft May 10, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant