ODS.VirtuosoOdsUbiquityTutorialsBookmarkOAuthM
Bookmark OAuth Ubiquity Authorization Example
The following example demonstrates oauth authentication getting the OAuth SID value for ex. for existing Bookmark instance "demo's Bookmarks" with owner user demo at the MyOpenlink server.
In order to execute correctly the example, you need to have OAuth Generate Key for the Bookmark "demo's Bookmarks" instance at the MyOpenlink server. More information and simple scenario how to be done you can find here.
- Execute the command:
ods-oauth-host http://myopenlink.net:8890/OAuth
- Execute the command:
ods-set-mode oauth
- Go to http://myopenlink.net:8890/ods/oauth_sid.vsp
- In the shown form:
- Enter for user demo
- Choose the application ""demo's Bookmarks".
- Click the "Execute" button.
- Enter for user demo its password and click the "Login" button.
- Click the "Authorize" button.
- Copy the obtains OAuth SID value for ex.: 110c20b2be57dab14dff55a88d0eaa25
- Execute the following command:
ods-set-bookmark-oauth 110c20b2be57dab14dff55a88d0eaa25
CategoryODS CategoryBookmarks?