Skip to content

Commit 476c9f3

Browse files
authored
Merge pull request #43 from enak/patch-1
Clarifying instructions around OAUTH_APP_PASSWORD.
2 parents 5daa265 + 6c9a105 commit 476c9f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demo/graph-tutorial/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
OAUTH_APP_ID=YOUR_APP_ID_HERE
2-
OAUTH_APP_PASSWORD=YOUR_APP_PASSWORD_HERE
2+
OAUTH_APP_PASSWORD=YOUR APP SECRET HERE
33
OAUTH_REDIRECT_URI=http://localhost:3000/auth/callback
44
OAUTH_SCOPES='profile offline_access user.read calendars.read'
55
OAUTH_AUTHORITY=https://login.microsoftonline.com/common/

tutorial/04-add-aad-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this exercise you will extend the application from the previous exercise to s
66

77
:::code language="ini" source="../demo/graph-tutorial/.env.example":::
88

9-
Replace `YOUR APP ID HERE` with the application ID from the Application Registration Portal, and replace `YOUR APP SECRET HERE` with the password you generated.
9+
Replace `YOUR APP ID HERE` with the application ID from the Application Registration Portal, and replace `YOUR APP SECRET HERE` with the client secret you generated.
1010

1111
> [!IMPORTANT]
1212
> If you're using source control such as git, now would be a good time to exclude the `.env` file from source control to avoid inadvertently leaking your app ID and password.

0 commit comments

Comments
 (0)