Registering an OAuth application with a provider
Register OAuth - In order for Actitivites Plus to authenticate with your Connections environment, you must define a new OAuth widget.
Procedure
-
SSH to the HCL Connections Deployment Manager (substitute the alias):
ssh root@[DEPLOY_MANAGER_ALIAS]
- On the WebSphere® deployment manager machine, start the wsadmin client, substituting your credentials. For more information, see Starting the wsadmin client.
-
Register the new application definition:
execfile('oauthAdmin.py') OAuthApplicationRegistrationService.addApplication('kudosboards', 'Kudos Boards', 'https://[BOARDS_URL]/auth/connections/callback')
where [BOARDS_URL] is your Connections URL for Activities Plus, for example, connections.example.com/boards.
-
Use this command to view and record the definition of the unique clientSecret:
OAuthApplicationRegistrationService.getApplicationById('kudosboards')
The clientSecret will be used later as follows:
CONNECTIONS_URL=https://connections.example.com CONNECTIONS_CLIENT_ID=kudosboards CONNECTIONS_CLIENT_SEC
-
Enable auto-authorization for this application by specifying the provider to make it a
privileged client.
Note: This step is optional but recommended and can be done at any time.