Hi All,

Recently I have seen several mails regarding re-factoring existing
connectors.
But I haven't seen that addressing Refresh Token issue. I want to know
whether those plans considering about properly using Refresh Token. Because
in a long running ESB should not expect to update Access Token every 1hr.
I think this requirement should get high-priority when refactoring existing
connectors.

Thank you!

On Tue, Feb 24, 2015 at 3:41 PM, Naasheer Ali <[email protected]> wrote:

> Hi
>
>    I'll look in to this
>
> Regards,
> --
>
> *Naasheer Ali* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: [email protected]
>
> On Tue, Feb 24, 2015 at 2:59 PM, Buddhima Wijeweera <[email protected]>
> wrote:
>
>> Hi,
>>
>> Yes, It should not work.
>> The OAuth implementation in connector is quite old.
>> To overcome that there's an implementation for OAuth2
>> Ref:
>> https://github.com/wso2/esb-connectors/blob/master/googlespreadsheet/2.0.0/src/main/java/org/wso2/carbon/connector/googlespreadsheet/GoogleSpreadsheetOAuth2Authentication.java
>>
>> which need a bit different config.
>>
>> So we expect that implementation to be align with current oauth
>> implementation and properly add to docs. as well.
>>
>> Thank you!
>>
>>
>>
>> On Tue, Feb 24, 2015 at 2:06 PM, Naasheer Ali <[email protected]> wrote:
>>
>>> Hi Kesavan, Tharindu
>>>
>>> Registration of new OAuth 1.0 clients is closed. Refer [1].
>>> [1] https://developers.google.com/accounts/docs/OAuth_ref#SigningOAuth
>>>
>>> From the above link the following credentials are supports to OAuth1
>>>
>>> oauth_consumer_secret=anonymous&
>>> oauth_consumer_key=anonymous&
>>> oauth_token=YOUR_TOKEN_SECRET&
>>> client_id=8819981768.apps.googleusercontent.com&
>>> client_secret=YOUR_CLIENT_SECRET
>>>
>>>
>>> OAuth 1.0 is deprecated, and registration of new OAuth 1.0 clients is
>>> closed. The information below is provided only for reference.
>>>
>>> Since OAuth1.0 is deprecated I can't create an new app
>>> So we need to migrate to OAuth2.0
>>>
>>> @buddima
>>>     WDYT.
>>>
>>> Regards,
>>> --
>>>
>>> *Naasheer Ali* | Associate Software Engineer
>>>
>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>
>>> Email: [email protected]
>>>
>>> On Tue, Feb 24, 2015 at 1:22 PM, Kesavan Yogarajah <[email protected]>
>>> wrote:
>>>
>>>> Registration of new OAuth 1.0 clients is closed. Refer [1].
>>>>
>>>> [1] https://developers.google.com/accounts/docs/OAuth_ref#SigningOAuth
>>>>
>>>>
>>>>
>>>> Kesavan Yogarajah
>>>> Associate Software Engineer
>>>> WSO2 Inc.
>>>>
>>>> Mob: +94 779758021
>>>>
>>>> On Tue, Feb 24, 2015 at 1:17 PM, Tharindu Edirisinghe <
>>>> [email protected]> wrote:
>>>>
>>>>> AFAIK *oauthConsumerKey* is same as *CLIENT ID* and
>>>>> *oauthConsumerSecret* is* CLIENT SECRET*. [1].
>>>>>
>>>>> [1]
>>>>> http://stackoverflow.com/questions/11744772/does-oauth-2-0-need-consumer-key-consumer-secret
>>>>>
>>>>> On Tue, Feb 24, 2015 at 12:18 PM, Naasheer Ali <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Kesaven, Tharindu,
>>>>>>
>>>>>> I've done those steps and I got CLIENT ID, CLIENT SECRET, REDIRECT
>>>>>> URIS, Refresh Token and Access token.
>>>>>> where I can find  oauthConsumerKey, oauthConsumerSecret*,*
>>>>>> oauthAccessToken*,* oauthAccessTokenSecret these parameters?
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>>
>>>>>> *Naasheer Ali* | Associate Software Engineer
>>>>>>
>>>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>>>
>>>>>> Email: [email protected]
>>>>>>
>>>>>> On Tue, Feb 24, 2015 at 12:07 PM, Tharindu Edirisinghe <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi Naasheer,
>>>>>>>
>>>>>>> Did you try out [1] ?
>>>>>>>
>>>>>>> [1] https://developers.google.com/accounts/docs/OAuth2
>>>>>>>
>>>>>>> On Tue, Feb 24, 2015 at 12:06 PM, Naasheer Ali <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Buddima,
>>>>>>>>
>>>>>>>>   To put inline I need to get the parameters from google. I could
>>>>>>>> not find those parameters from the api.
>>>>>>>> Are there any possibilities to fine those parameters from goolge.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Naasheer Ali* | Associate Software Engineer
>>>>>>>>
>>>>>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>>>>>
>>>>>>>> Email: [email protected]
>>>>>>>>
>>>>>>>> On Mon, Feb 23, 2015 at 5:42 PM, Tharindu Edirisinghe <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Naasheer,
>>>>>>>>>
>>>>>>>>> You need to create a service provider and configure OAuth app.
>>>>>>>>> Refer [1].
>>>>>>>>>
>>>>>>>>> [1]
>>>>>>>>> http://blog.lasindu.com/2014/12/wso2-identity-server-provision-service.html
>>>>>>>>>
>>>>>>>>> On Mon, Feb 23, 2015 at 5:15 PM, Naasheer Ali <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>>   I'm trying to enable OAuth support to google spreadsheet
>>>>>>>>>> connector. google spreadsheet supports to oauth2, I have created a 
>>>>>>>>>> project
>>>>>>>>>> and got the access token and refresh token.
>>>>>>>>>> But in the documentation[1] in order to get access token I need
>>>>>>>>>> the following parameters but I could not get the parameters
>>>>>>>>>>
>>>>>>>>>> <googlespreadsheet.init>
>>>>>>>>>>   <oauthConsumerKey>{wso2:vault-lookup('xx.consumerKey')}</
>>>>>>>>>> oauthConsumerKey>
>>>>>>>>>>   <oauthConsumerSecret>xxx</oauthConsumerSecret>
>>>>>>>>>>   <oauthAccessToken
>>>>>>>>>> >{wso2:vault-lookup('xxx.oauth.accessToken')}</oauthAccessToken>
>>>>>>>>>>   <oauthAccessTokenSecret
>>>>>>>>>> >{wso2:vault-lookup('xxx.oauth.accessTokenSecret')}</
>>>>>>>>>> oauthAccessTokenSecret>
>>>>>>>>>> </googlespreadsheet.init>
>>>>>>>>>>
>>>>>>>>>> How can I get those parameters?
>>>>>>>>>> [1].
>>>>>>>>>> https://docs.wso2.com/display/ESB481/Google+Spreadsheet+Connector
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> *Naasheer Ali* | Associate Software Engineer
>>>>>>>>>>
>>>>>>>>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>>>>>>>>
>>>>>>>>>> Email: [email protected]
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> Tharindu Edirisinghe
>>>>>>>>> Software Engineer | WSO2 Inc
>>>>>>>>> Identity Server Team
>>>>>>>>> mobile : +94 775 181586
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Tharindu Edirisinghe
>>>>>>> Software Engineer | WSO2 Inc
>>>>>>> Identity Server Team
>>>>>>> mobile : +94 775 181586
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Tharindu Edirisinghe
>>>>> Software Engineer | WSO2 Inc
>>>>> Identity Server Team
>>>>> mobile : +94 775 181586
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Buddhima Wijeweera
>> Software Engineer; WSO2 Inc.; http://wso2.com ,
>>
>> Mobile: +94 71 427 9966
>> Email: [email protected]
>> Blog:   https://buddhimawijeweera.wordpress.com
>> GitHub Profile: https://github.com/Buddhima
>>
>
>


-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Mobile: +94 71 427 9966
Email: [email protected]
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to