From 94fffa4931c4f5e0ff966fa50af08c9c33e05480 Mon Sep 17 00:00:00 2001 From: Rebecca Wheeler <rebecca.wheeler@wisc.edu> Date: Wed, 15 Feb 2023 12:38:21 -0600 Subject: [PATCH] Update docs/tutorials/PersonAPI/Webhooks.md --- docs/tutorials/PersonAPI/Webhooks.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/tutorials/PersonAPI/Webhooks.md b/docs/tutorials/PersonAPI/Webhooks.md index 7e13512..622b453 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: -- GitLab