Skip to content

Commit 328a8d0

Browse files
authored
Merge pull request #54 from microsoftgraph/issue-fixes
Issue fixes
2 parents 2fe1825 + 7de4eb2 commit 328a8d0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If you don't have a Microsoft account, there are a couple of options to get a fr
4747

4848
1. Rename the `example.env` file to `.env`.
4949
1. Edit the `.env` file and make the following changes.
50-
1. Replace `YOUR_APP_ID_HERE` with the **Application Id** you got from the App Registration Portal.
50+
1. Replace `YOUR_CLIENT_SECRET_HERE` with the **Application Id** you got from the App Registration Portal.
5151
1. Replace `YOUR_APP_PASSWORD_HERE` with the password you got from the App Registration Portal.
5252
1. In your command-line interface (CLI), navigate to this directory and run the following command to install requirements.
5353

demo/graph-tutorial/example.env

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_SECRET=YOUR_APP_SECRET_HERE
2+
OAUTH_APP_SECRET=YOUR_CLIENT_SECRET_HERE
33
OAUTH_REDIRECT_URI=http://localhost:3000/auth/callback
44
OAUTH_SCOPES='user.read,calendars.readwrite,mailboxsettings.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/example.env":::
88

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.
9+
Replace `YOUR_CLIENT_SECRET_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)