diff --git a/docs/tutorials/PersonAPI/Webhooks.md b/docs/tutorials/PersonAPI/Webhooks.md index 7e13512b684bfb62e0e1638086f68d8b937435d1..622b453fb85afcdcdd3b9f411cf03bb4b6789606 100644 --- a/docs/tutorials/PersonAPI/Webhooks.md +++ b/docs/tutorials/PersonAPI/Webhooks.md @@ -14,10 +14,14 @@ In the Application Integration module perform the following to create a “Servi - Download the specification from https://developer.wisc.edu/docs/oauth/1/overview 5. Select the POST operation under “/token” operations for this Service Connector and proceed through the steps - There might be warnings with the import which is expected. -6. Once the Service Connector has been created, open the UI for the Service Connector and select the “Actions” tab. -7. Select the Action for POST token and select “Binding” option -8. Select “Basic” as the “Authentication Type” - - NOTE: you can add your “Client ID” and “Client Secret” here as well to test the connection and the request in the “Test Results” tab. +6. Once the Service Connector has been created, open the UI and add your username and password (Or API keypair) into the corresponding "Test With" fields on the Definition tab +7. Select the “Actions” tab and verify POST_token is selected. +8. Select the Input option and rename the Input Field as "grant_type" and add "client_credentials" in the Test With field. +9. Select “Binding” option. + - Select “Basic” as the “Authentication Type” + - In the HTTP Headers section, in Content-Type's Source field, remove "; charset=UTF-8" so that the field's entry now only says "application/x-www-form-urlencoded" + - Verify Binding Type is selected as Form + - Add your “Client ID” and “Client Secret” here as well to test the connection and the request in the “Test Results” tab. ## Process Objects for OAuth Once the Service Connector has been created, open the UI for the Service Connector and follow these steps to create Process: