Uploaded image for project: 'Wookie'
  1. Wookie
  2. WOOKIE-307

Improving oauth support (implicit grant) for wookie

    XMLWordPrintableJSON

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

        1. patch-oauth-facebook
          20 kB
          Minh Tien Hoang

        Issue Links

          Activity

            People

              rgardler Ross Gardler
              hmt Minh Tien Hoang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: