Polls OAuth Ubiquity Authentication Example
The following example demonstrates oauth authentication getting the OAuth SID value for ex.
for existing Polls instance "mypolls" with owner user demo at the OpenLink? Demo server.
In order to execute correctly the example, you need to have OAuth Generate Key for the Polls "mypolls" instance at OpenLink? Demo server.
More information and simple scenario how to be done you can find here.
- Execute the command:
ods-oauth-host http://demo.openlinksw.com/OAuth
- Execute the command:
ods-set-mode oauth
- Setup OAuth key for your ODS application instance.
Detail information you can find here.
- Go to http://demo.openlinksw.com/ods/oauth_sid.vsp
- In the shown form:
- Enter for user demo
- Choose the application "mypolls".
- 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.: c0655cf0c4b312a6a70188e4d8fba726
- Execute the following command:
ods-set-poll-oauth c0655cf0c4b312a6a70188e4d8fba726
CategoryODS CategoryPolls