Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-12-24 Thread Mahesh Chinthaka
Many thanks Omindu..!!! On Sun, Dec 24, 2017 at 2:23 PM, Omindu Rathnaweera wrote: > Hi Mahesh, > > This issue was fixed with a WUM update. > > Regards, > Omindu. > > On Sun, Dec 24, 2017 at 5:47 PM, Mahesh Chinthaka > wrote: > >> Hi Maduranga/ Danushka, >>

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-12-24 Thread Omindu Rathnaweera
Hi Mahesh, This issue was fixed with a WUM update. Regards, Omindu. On Sun, Dec 24, 2017 at 5:47 PM, Mahesh Chinthaka wrote: > Hi Maduranga/ Danushka, > > I got the same NPE error while doing the same. After setting > EnableOAuthCache to true in identity.xml, error

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-12-24 Thread Mahesh Chinthaka
Hi Maduranga/ Danushka, I got the same NPE error while doing the same. After setting EnableOAuthCache to true in identity.xml, error disappeared. According to IDENTITY-5830 seems like it got fixed in 5.4.0-M1, here Im using 5.3.0 Do we have a backported fix for this ? Or is it ok if I keep that

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-03-22 Thread Danushka Fernando
Createed https://wso2.org/jira/browse/IDENTITY-5830 to track this Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Mar 23, 2017 at 9:22 AM, Maduranga Siriwardena wrote: > Sorry the code line should be [1].

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-03-22 Thread Maduranga Siriwardena
Sorry the code line should be [1]. Previous line I pointed [2] has the same issue. [1]

Re: [Dev] [IS] Generate token with auth code grant - Using same code twice

2017-03-22 Thread Maduranga Siriwardena
Hi Danushka, The problem seems to be oauthCache is only initialized when EnableOAuthCache is set to true in identity.xml. Default value is false. So oauthCache is null and when we try to clear the cache entry [1] it gives NPE. [1]