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</AuthorizationCodeDefaultValidityPeriod>
        <!-- Default validity period for application access tokens in
seconds -->

<AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultValidityPeriod>
        <!-- Default validity period for user access tokens in seconds -->

<UserAccessTokenDefaultValidityPeriod>3600</UserAccessTokenDefaultValidityPeriod>
        <!-- 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

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

Reply via email to