You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, you would create a separate flow that guides users through the consent process, provisions your app and API in their tenant or Microsoft account, and completes consent in a single step that's separate from signing in.
200
+
Ideally, you would create a separate flow that takes the following actions:
201
+
- Guides users through the consent process
202
+
- Provisions your app and API in their tenant or Microsoft account
203
+
- Completes consent in a single step that's separate from signing in
201
204
202
-
If you don't separate this flow and instead combine it with your app's sign-in experience, the process can become confusing. Users may encounter multiple consent prompts. To improve the experience, consider adding a message in your app that informs users they might be asked to consent more than once:
205
+
If you don't separate this flow, and instead combine it with your app's sign-in experience, the process can become confusing. Users might encounter multiple consent prompts. To improve the experience, consider adding a message in your app to inform users that they might be asked to consent more than one time:
203
206
204
207
- For Microsoft accounts, expect at least two consent prompts: one for the client app and one for the API.
205
208
- Typically, for work or school accounts, only one consent prompt is required.
206
209
207
-
The following is an end-to-end code sample that demonstrates a smooth user experience. It supports all account types and prompts for consent only when necessary.
210
+
The following is an end-to-end code sample that demonstrates a smooth user experience. This code supports all account types and prompts for consent only when necessary.
0 commit comments