---+++Discussions OAuth Ubiquity Authentication Example
The following example demonstrates oauth authentication getting the OAuth SID value
for for Discussions at the OpenLink [[http://demo.openlinksw.com/ods][Demo server ]].
In order to execute correctly the example, you need to have OAuth Generate Key for
Discussion at OpenLink [[http://demo.openlinksw.com/ods][Demo server ]].
More information and simple scenario how to be done you can find [[VirtOAuthControllers][here]].
1. Execute the command:
ods-oauth-host http://demo.openlinksw.com/OAuth
*
1. Execute the command:
ods-set-mode oauth
*
1. Setup OAuth key for your ODS application instance. Detail information you can find [[VirtOAuthControllers][here]].
1. Go to http://demo.openlinksw.com/ods/oauth_sid.vsp
*
1. In the shown form:
1. Enter for user demo
1. Choose the application "Discussion".
1. Click the "Execute" button.
*
1. Enter for user demo its password and click the "Login" button.
1. Click the "Authorize" button.
*
1. Copy the obtains OAuth SID value for ex.: b32aa0222d8582f4da2ce7cebe36745d
*
1. Execute the following command:
ods-set-discussion-oauth b32aa0222d8582f4da2ce7cebe36745d
*
CategoryODS CategoryDiscussions