Improving oauth support (implicit grant) for wookie
---------------------------------------------------
Key: WOOKIE-307
URL: https://issues.apache.org/jira/browse/WOOKIE-307
Project: Wookie
Issue Type: Improvement
Reporter: Hoang Minh Tien
Priority: Minor
Updating oauth support, allowing to set manually client_id and scope to
request. Adding a facebook sample widget that write on the wall of friend list
Steps to create a widget connecting to oauthed services:
+ Create a widget with ant seed-widget
+ Adding feature oauth into widget configuration file (config.xml) with the
following parameters:
* clientId: your client id issued by authorization endpoint from oauthed
service side
* authzServer: url of authorization endpoint
* scope: scope of token issued
+ To make call to oauthed service,
1. We obtain an access token by calling to oauth.authenticate()
2. Then using calling oauth.proxify(service_url) in which url is the url of
the oauthed service, by calling this function, access token will be
automatically added to the request.
+ To remove token from database, make call to oauth.invalidateToken()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira