I have successfully configured a service provider in Wso2 Identity server. With Oauth2 as inbound authentication method. I am facing some issue in Access Token Expiry time. I debugged the issue by following steps
Using Generate Token API - https://localhost:9443/oauth2/token - i got generated access token as response. data
{"token_type":"bearer","expires_in":3600,"refresh_token":"a0e09620d3185a6f7dc2cd42f092e76c","access_token":"b2267f60892c6c94f58a421d2d529a"}
In above response the expiry time is 3600. which is same as configured in identity.xml. But When I use this access_token in OAuth2TokenValidation.validate SOAP service, the expiry time is completely doubled as 360000.
- I have test this in soap UI tool. I have attached a screen shot of it.
Is there anything, i am missing from configuration side or some issue at calculation of expiry time at OAuth2TokenValidation validation soap api. Need help to resolve this issue.
Thanks