OAuth 1.0a APIs for web server flowAdded by IBM on April 4, 2013 | Version 1 (Original)
|Learn how IBM SmartCloud™ for Social Business supports and works with Open Authorization (OAuth) 1.0a.
The following image shows a graphical view of the OAuth 1.0a web server flow within SmartCloud for Social Business:
The flow takes place in the following steps:
Parent topic: Open Authorization
1. Step 1: Register your application
Each application that makes API calls must be registered with IBM SmartCloud
for Social Business. The registration is a one-time process.
2. Step 2: Get a request token
When the IBM SmartCloud
for Social Business resource owner (sometimes referred to as the user) visits the application, the application server sends an API call to the SmartCloud for Social Business server so that it can access content on behalf of the resource owner.
3. Step 3: Obtain authorization
Authorization is required to access to content that belongs to IBM SmartCloud
for Social Business resource owners. The authorization process is browser based and must be initiated by the resource owner.
4. Step 4: Get the access token
In this step, the request token is exchanged for an access token. The access token expires after 10 hours.
5. Step 5: Make the API call
Now that the access token has been generated, the final step is to make the actual API call, as shown in the following image.