Addressbook OAuth Ubiquity Authorization Example

The following example demonstrates oauth authentication getting the OAuth SID value for ex. for existing Addressbook instance "demo's AddressBook?" with owner user demo at the MyOpenlink server.

In order to execute correctly the example, you need to have OAuth Generate Key for the Addressbook "demo's AddressBook?" instance at the MyOpenlink server. More information and simple scenario how to be done you can find here.

  1. Execute the command:

    ods-oauth-host http://myopenlink.net:8890/OAuth

  2. Execute the command:

    ods-set-mode oauth

  3. Go to http://myopenlink.net:8890/ods/oauth_sid.vsp
  4. In the shown form:
    1. Enter for user demo
    2. Choose the application ""demo's AddressBook?".
    3. Click the "Execute" button.
  5. Enter for user demo its password and click the "Login" button.
  6. Click the "Authorize" button.
  7. Copy the obtains OAuth SID value for ex.: d746c1dbccd075b3a41b599975d96a27
  8. Execute the following command:

    ods-set-addressbook-oauth d746c1dbccd075b3a41b599975d96a27

CategoryODS CategoryAddressBook