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 <[email protected]> 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</ > 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 <+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>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
