In my applications setup, I have couple of microservices (asp.net core api). Eg. From one microservice, I am making api calls to another microservice (api-to-api OR machine-to-machine). I am looking for best practices around using Refresh Token to get Access Token. Shall I just check whether my current access token has expired before making the api call, if expired obtain a new one using the ClientId/ClientSecret/Audience (grant_type: client_credentials). OR shall I using the refresh token to obtain the access token. I was unable to find examples/documentation around usage of refresh token in the scenario I described.
Thank you in advance!