Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.9.2
-
None
-
None
Description
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()
Attachments
Attachments
Issue Links
- blocks
-
WOOKIE-100 Open ID/OAuth Support
- Resolved