I am using identity server3 for Authenticate my user. Identity server provides me the access token and refreshtoken after successful logged in.
Access_Token : Access token valid only for 1 hour.
Refresh_token : this token is used when access_token is expired and Wants new access_token from Identity server3
Application Starts and logged in works fine… but I am not able to handle access_token when it’s expired.
User logged in application use application and close it… once again it open application he/she does get any new updates while access_token is expired.
I don’t have much idea how can I handle this situation When application starts at that time check whether access_token is not valid that use this refresh_token to get new access_token from Identity server3
Thanks in advance