Skip to content

Commit 4fccfef

Browse files
committed
Updated documentation
Updated documentation with new auto authtoken.
1 parent a97489c commit 4fccfef

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

README.md

+7-13
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,17 @@
2525

2626
![Manage_Environments-Import](/img/Collection-Variables.gif)
2727

28-
b.- Go back into the "Manage Environments" menu and click on the "Globals" button. Here you will see the two different types of AuthTokens used to contact Production or PPE environments.
28+
b.- Go back into the "Manage Environments" menu and click on the "Globals" button. Here you will see the settings postman will use to automatically generate AuthTokens. There are two different types of AuthTokens: Production or PPE environments.
2929
![Manage_Environments-Import](/img/Manage_Environments-Globals.gif)
3030

31-
You can use the ticketizer tool to create the AuthTokens: http://toolbox/ticketizer
32-
Open the tool, go to the ADAL tab and hit the "Ticket Please!!" button to the right:
33-
![Manage_Environments-Import](/img/CreateAuthToken.gif)
31+
You will need to fill the following variables in order for postman to be able to get a valid AuthToken:
3432

35-
This will generate a token for the production environment token. Copy the token from there and paste it in the "Prod_AuthToken" variable current value.
36-
You can also generate a token for the "PPE_AuthToken" variable by clicking in the "INT/PPE" radio button in ticketizer before generating the token.
37-
![Manage_Environments-Import](/img/CreateAuthToken_PPE.gif)
33+
Prod_UserName | PPE_UserName: The username for the account holding the notebooks you want to access using the onenote API (usually in the form of an email).
34+
Prod_Password | PPE_Password: The password to access the account specified in the username field.
35+
Prod_client_id | PPE_client_id: The client id of the application that is requesting the account access.
3836

39-
Add the necessary auth tokens to these variables (CURRENT VALUE ONLY) and hit save.
40-
41-
The AuthTokens will expire after a while so you will have to come back and update their values every time
42-
that happens.
43-
44-
Now you should be able to open any of the requests and hit the Send button to execute.
37+
Once you have filled these three fields save your changes and go back to the main postman screen.
38+
Now you should be able to open any of the requests and hit the Send button to execute, postman will automatically fetch a new AuthToken whenever it is required.
4539

4640
# Configuring SSL
4741

img/Manage_Environments-Globals.gif

-2.47 KB
Loading

0 commit comments

Comments
 (0)