Re: [Architecture] Using Refresh token in ESB connectors

2015-06-14 Thread Nadeeshaan Gunasinghe
Hi All, According to the requirement of refreshing the access token we decided that there should be a way to keep our refresh token persistently. Also using the time out can be bit problematic since the access tokens can be revoked also. Due to this reason we decided to depend on the API call to ch

Re: [Architecture] Using Refresh token in ESB connectors

2015-06-14 Thread Kasun Indrasiri
Hi Nadeeshan, Can you please share the design and implementation details of the refresh token handling in connectors. On Wed, Mar 18, 2015 at 10:11 PM, Buddhima Wijeweera wrote: > Hi All, > > According to current status, we need to do this with connectors. > > So, through this mail, I would lik

Re: [Architecture] Using Refresh token in ESB connectors

2015-03-18 Thread Buddhima Wijeweera
Hi All, According to current status, we need to do this with connectors. So, through this mail, I would like to propose a probable solution on this. There'll be two new entries for 'init' section of a connector. So, in generic case a init of a connector should looks like follows: {wso2:v

Re: [Architecture] Using Refresh token in ESB connectors

2015-03-06 Thread Vanjikumaran Sivajothy
Hi Buddhima, As a interim solution i am proposing to have a update the connector with the separate functionality. However, currently there is another discussion on the architecture mailing list to add this functionality in existing Oauth mediator. I believe, we can reuse the given component for c

Re: [Architecture] Using Refresh token in ESB connectors

2015-03-06 Thread Buddhima Wijeweera
Hi Vanji, Thank you for the answer. So the point not clear is, are you proposing to add this functionality for each connector? I think this should be done at a higher level and make it less affect to connector implementation. If so, we'll be able to reduce the cost of changing each and every conn

Re: [Architecture] Using Refresh token in ESB connectors

2015-03-06 Thread Vanjikumaran Sivajothy
Hi Buddhima, Please see my answers in line Best Regards, Vanji On Tue, Mar 3, 2015 at 8:34 PM, Buddhima Wijeweera wrote: > Hi All, > > This is regarding OAuth token expiration and using Refresh Token for > updating the Access Token. > > *Problem:* > This problem currently emerged from ESB Co

[Architecture] Using Refresh token in ESB connectors

2015-03-03 Thread Buddhima Wijeweera
Hi All, This is regarding OAuth token expiration and using Refresh Token for updating the Access Token. *Problem:* This problem currently emerged from ESB Connectors. After configuring a connector according to documentation, it works fine for certain time and become not usable. *Reason:* Within