I am using microsoft OWIN to generate access and refresh token at first login.i knew that refresh token is used to issue new access token .but my question is
1.If application is idle and access token is about to expire do we need to generate new access token?if yes then application will never timeout.
2.If we need to generate new access token do we need to request manually only for token or while the any API method is consumed during the access token period we need to generate a new access token?
I have been referring many sites on reshing tokens but everyone has one answer that when access token is about to expire we have to use refresh token to get new access token.its an obvious answer.if we continue to refresh without verifying Application idleness then application will never reach timeout condition.
I am new to this concept so i would request you all to help me out in knowing actual security standards to use refresh token.
Thank you in advance.