Skip to content

Commit 2a83f81

Browse files
committed
Update README.md
1 parent e09848c commit 2a83f81

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

Images/aad-add-reply-url.png

-1.61 KB
Loading

Images/aad-create-app-12.png

9.51 KB
Loading

Images/azure-web-app.png

-13.8 KB
Loading

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,15 @@ For production, you should you own certifcate:
148148

149149
Click **Save**, then copy aside the **VALUE** of the key.
150150

151+
- Click **Reply URLs**, then add the following two reply URLs:
152+
153+
- `http://127.0.0.1:8000/Auth/O365/Callback`
154+
- `http://127.0.0.1:8000/Admin/ProcessCode`
155+
156+
![](Images/aad-create-app-12.png)
157+
158+
Click **Save**.
159+
151160
Close the Settings window.
152161

153162
6. Add keyCredential
@@ -312,17 +321,23 @@ The following softwares are required:
312321

313322
![](Images/azure-web-app.png)
314323

315-
Copy the URL aside and change the schema to **https**. This is the replay URL and will be used in next step.
324+
Add two suffixes to the **URL** seperately:
325+
326+
* `/Auth/O365/Callback`
327+
* `/Admin/ProcessCode`
328+
329+
We will get two reply URLs:
330+
331+
- `https://edugraphapi.azurewebsites.net/Auth/O365/Callback`
332+
- `https://edugraphapi.azurewebsites.net/Admin/ProcessCode`
316333

317334
3. Navigate to the app registration in the new Azure portal, then open the setting windows.
318335

319-
Add the reply URL:
336+
Add the two reply URLs:
320337

321338
![](Images/aad-add-reply-url.png)
322339

323-
> Note: to debug the sample locally, make sure that http://127.0.0.1:8000/ is in the reply URLs.
324-
325-
4. Click **SAVE**.
340+
Click **SAVE**.
326341

327342
## Understand the code
328343

0 commit comments

Comments
 (0)