sorry I missed that. I'm trying to set it on the UI from the api store.

On Tue, Nov 14, 2017 at 10:28 AM, Irham Iqbal <iq...@wso2.com> wrote:

> HI NuwanS,
>
> The above configurations are for default validity periods. Are you trying
> to generate the token from UI or Rest API?
>
> Thanks,
> Iqbal
>
> On Tue, Nov 14, 2017 at 9:59 AM, Nuwan Silva <nuw...@wso2.com> wrote:
>
>> I have a setup of APIM 2.1.0 with IS 5.3.0 as the KM (wum updated.)
>>
>> When trying to generate the access token with validity period set to "-1"
>> it defaults back to 3600. IS configuration is as follows in identity.xml;
>>
>>         <!-- Default validity period for Authorization Code in seconds -->
>>         <AuthorizationCodeDefaultValidityPeriod>300</AuthorizationCo
>> deDefaultValidityPeriod>
>>         <!-- Default validity period for application access tokens in
>> seconds -->
>>         <AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultVa
>> lidityPeriod>
>>         <!-- Default validity period for user access tokens in seconds -->
>>         <UserAccessTokenDefaultValidityPeriod>3600</UserAccessTokenD
>> efaultValidityPeriod>
>>         <!-- Validity period for refresh token -->
>>         <RefreshTokenValidityPeriod>84600</RefreshTokenValidityPeriod>
>>
>> am I missing something here? since atm, I cant generate an access token
>> with a validity period more than 3600s (without changing the configs in
>> identity.xml).
>>
>> Cheers,
>> NuwanS
>> --
>>
>>
>> *Nuwan Silva*
>> *Associate Technical Lead*
>> Mobile: +9477 980 4543 <+94%2077%20980%204543>
>>
>> WSO2 Inc.
>> lean . enterprise . middleware.
>> http://www.wso2.com
>>
>
>
>
> --
> Irham Iqbal
> Software Engineer
> WSO2
> phone: +94 777888452
> <http://wso2.com/signature>
>
>


-- 


*Nuwan Silva*
*Associate Technical Lead*
Mobile: +9477 980 4543

WSO2 Inc.
lean . enterprise . middleware.
http://www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to