%VOSWARNING%
---+++Calendar OAuth Ubiquity Authorization Example
The following example demonstrates oauth authentication getting the OAuth SID value for ex. for existing Calendar instance "demo's Calendar" with owner user demo at the [[http://myopenlink.net:8890/ods][MyOpenlink server ]].
In order to execute correctly the example, you need to have OAuth Generate Key for the Calendar "demo's Calendar" instance at the [[http://myopenlink.net:8890/ods][MyOpenlink server ]]. More information and simple scenario how to be done you can find [[VirtOAuthControllers][here]].
1. Execute the command:
ods-oauth-host http://myopenlink.net:8890/OAuth
*
1. Execute the command:
ods-set-mode oauth
*
1. Go to http://myopenlink.net:8890/ods/oauth_sid.vsp
*
1. In the shown form:
1. Enter for user demo
1. Choose the application "demo's Calendar".
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.: bdb296d39d3c66828647451f4ec3e79a
*
1. Execute the following command:
ods-set-calendar-oauth bdb296d39d3c66828647451f4ec3e79a
*
CategoryODS CategoryCalendar