Managing OAuth consumers

An OAuth consumer is an application or a website that can send requests to SECollab on behalf of a user. The consumer signs its requests with a key and a secret that SECollab authorized. Consumers are the inbound half of the OSLC communication. The outbound half is described in Managing friends.

OAuth Consumers page

The OAuth Consumers page has three parts: the provisional keys, the authorized keys and the root services URI of the server.

Provisional keys

When another application registers SECollab as a friend with a provisional key, it asks SECollab for a consumer key. SECollab rejects the requests signed with this key until an administrator approves it. The Provisional Keys list shows these requests, with the trust level that the other application requested.

  1. Optionally, change the consumer name and the Trusted option of the request.
  2. In the last column, select Approve or Reject.
  3. Click Save. An approved key moves to the Authorized Keys list.

Authorized keys

The Authorized Keys list shows the keys that SECollab accepts. The last row, grayed out, is the built-in consumer of the server itself. You cannot change it. To change another consumer, click its Edit icon. The Edit Consumer Key Properties dialog changes the name, the secret, the functional user and the Trusted option.

Adding a consumer

Add a consumer when the other application asks you for a key and a secret, for example to configure LQE or LDX:

  1. Click Add Consumer.
  2. Type a name. Leave Key empty: SECollab generates the key.
  3. Type a secret in Secret and Confirmation.
  4. Optionally, select a functional user and select Trusted.
    Add a consumer dialog
  5. Click Add. The consumer appears in the Authorized Keys list.
  6. Give the generated key and the secret to the administrator of the other application.

Root services URI

The Root Services URI at the bottom of the page is the URI that another application needs to register SECollab as a friend. Its format is https://<host>:<port>/secollab/clm/rootservices. Click the button next to it to copy it.

The page requires the Parameterize OSLC configurations (consumers, friends) permission. The Event logs record the creation of consumers.