Skip to content

Commit a246b3a

Browse files
Adjusted information on creds
1 parent 6651142 commit a246b3a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,17 @@ After you've setup your web server described above,....
4141
3. On the API Settings page, set Mobile or desktop setting to No.
4242
4. Set the Redirect URI to the domain name of your web site, as in the following example. The root domain name must be unique, so if you use one domain for testing and another for production, you'll need to register separate client ids and secrets for each domain.
4343
![](images/OneNoteMSAScreen.png)
44-
5. On the App Setting page, copy the client ID and secret into the config.js file.
44+
5. On the App Setting page, copy the client ID and secret into a new config.js file as follows:
45+
46+
```module.exports = {
47+
//Live Connect API information
48+
clientId: '000000004011C945',
49+
clientSecret: 'U5ofKaQiol75VbohV4hh-2x8XZpcJoPf ',
50+
redirectUrl: 'http://onenoteapisamples.com:3000/callback'
51+
};```
52+
53+
_Note: config.js has been added to the ignore file to protect creds_
54+
4555
6. Open a command prompt and go to the root directory of the project.
4656
7. Setup project dependencies with the `npm install` command.
4757
8. Run the app with the `npm start` command.

0 commit comments

Comments
 (0)