Hi,

Can someone explain the behaviour of
<EnableOAuthCache>true</EnableOAuthCache> , in identity.xml of API-Manager.

Does it have an impact on the token expiration time?

With the following configurations, my token expires exactly after 60
seconds, even if the API has been invoked before the expiration.

identity.xml :

<UserAccessTokenDefaultValidityPeriod>60</UserAccessTokenDefaultValidityPeriod>
  <TimestampSkew>0</TimestampSkew>
  <EnableOAuthCache>true</EnableOAuthCache>

api-manager.xml :
  <EnableKeyMgtValidationInfoCache>false</EnableKeyMgtValidationInfoCache>
  <EnableKeyMgtValidationInfoCache>false</EnableKeyMgtValidationInfoCache>

Is this correct or should the token be cached for the default duration of
15 mins since <EnableOAuthCache> is set to true?

Regards

*Asanthi Kulasinghe*
Software Engineer - QA
WSO2 Inc; http://www.wso2.com/.
Mobile: +94777355522
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to