You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Hoang Minh Tien (JIRA)" <ji...@apache.org> on 2012/10/25 22:29:12 UTC

[jira] [Created] (WOOKIE-390) Adding oauth authorization code grant support to widget

Hoang Minh Tien created WOOKIE-390:
--------------------------------------

             Summary: Adding oauth authorization code grant support to widget
                 Key: WOOKIE-390
                 URL: https://issues.apache.org/jira/browse/WOOKIE-390
             Project: Wookie
          Issue Type: Improvement
          Components: Feature Management
    Affects Versions: 0.14.0
            Reporter: Hoang Minh Tien
             Fix For: 0.13.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WOOKIE-390) Adding oauth authorization code grant support to widget

Posted by "Hoang Minh Tien (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484465#comment-13484465 ] 

Hoang Minh Tien commented on WOOKIE-390:
----------------------------------------

implemented from r1402319
The creation of widget is similar to implicit grant, the following parameters need to be declared in config.xml:
* profile : is "authorization code" (default value is implicit) 
* clientId : client identifier provided by service provider (facebook, buffer, google ...)
* clientSecret : client secret string (sometime called API key) provided by service providers
* authzServer: authorization endpoint, an url defined by service providers
* tokenEndpoint : token endpoint, an url defined by service provider
* persist : optional (default is true) same meaning as using in implicit grant.
The redirect url registered to service provider with this profile has following form: http://your.wookie.server/wookie/features/oauth/authz-code

May be Ross would want to continue with buffer widget that you mentioned long time ago :-). Here is some guide line I got from buffer
* manual http://bufferapp.com/developers/api/oauth
* authzServer: https://bufferapp.com/oauth2/authorize
* tokenEndpoint: https://api.bufferapp.com/1/oauth2/token.json
* clientId and clientSecret will be provided when you register an application with buffer and don't forget to set redirect url to correct upper value
                
> Adding oauth authorization code grant support to widget
> -------------------------------------------------------
>
>                 Key: WOOKIE-390
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-390
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Feature Management
>            Reporter: Hoang Minh Tien
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WOOKIE-390) Adding oauth authorization code grant support to widget

Posted by "Hoang Minh Tien (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WOOKIE-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoang Minh Tien updated WOOKIE-390:
-----------------------------------

        Fix Version/s:     (was: 0.13.0)
    Affects Version/s:     (was: 0.14.0)
    
> Adding oauth authorization code grant support to widget
> -------------------------------------------------------
>
>                 Key: WOOKIE-390
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-390
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Feature Management
>            Reporter: Hoang Minh Tien
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira