I guess we have to call the getIdentityOauthTokenIssuer method in line [1],
instead of " getOAuthTokenGenerator" method.

[1] -
https://github.com/wso2/carbon-apimgt/blob/6.x/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/issuers/APIMTokenIssuer.java#L112

On Tue, Jul 3, 2018 at 5:55 AM Nuwan Dias <[email protected]> wrote:

> [Adding Prasanna].
>
> I don't think this behavior is intentional. Therefore we will have to fix
> this.
>
> On Tue, Jul 3, 2018 at 5:44 PM Omindu Rathnaweera <[email protected]> wrote:
>
>> Hi Fazlan/Nalaka,
>>
>> This behavior is not there in the IS 5.6.0 release candidate. I did a
>> small test by reverting the APIMTokenIssuer to the default one and the
>> issue got resolved. Better to check the APIMTokenIssuer.
>>
>> On Mon, Jul 2, 2018 at 7:48 PM Fazlan Nazeem <[email protected]> wrote:
>>
>>> This seems to be true.
>>>
>>> @IS team,  What is the reason to expire the token before the expiry time
>>> and without a revocation request?
>>>
>>> On Mon, Jul 2, 2018 at 2:31 PM Nalaka Senarathna <[email protected]>
>>> wrote:
>>>
>>>> In the latest release of API manager if we try to generate new access
>>>> tokens before it expired using "password grant type " output is different
>>>> access tokens with the same refresh token. when checking the database it
>>>> shows the state is "EXPIRED" of the previous access token.
>>>>
>>>> In earlier releases, if the access token is not expired output was the
>>>> same access token when trying to generate using the password grant type.
>>>>
>>>> Is that change made by intentionally In new release?
>>>>
>>>> regards.
>>>> --
>>>> *Nalaka Senarathna*
>>>> *Associate Software Engineer | WSO2*
>>>>
>>>> *Email : [email protected] <[email protected]>*
>>>> *Mobile : +94714118474*
>>>> *web :  https://wso2.com <https://wso2.com>*
>>>> <https://wso2.com/signature>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Fazlan Nazeem*
>>> Senior Software Engineer
>>> WSO2 Inc
>>> Mobile : +94772338839
>>> [email protected]
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>> Regards,
>> Omindu
>> --
>> Omindu Rathnaweera
>> Senior Software Engineer, WSO2 Inc.
>> Mobile: +94 771 197 211
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Nuwan Dias
>
> Director - WSO2, Inc. http://wso2.com
> email : [email protected]
> Phone : +94 777 775 729
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Rajith Roshan
Senior Software Engineer, WSO2 Inc.
Mobile: +94-7 <javascript:void(0);>17-064-214
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to