Expired Access Token


Each access token is valid for just 15 minutes, so it will be a normal case that when invoking some microservice, it returns 401 Unauthorized, with a message specifying that the token is expired.
When that happens, you need to get a new access token and retry the request to the microservice.
The flow is the following:
Make a POST request to /Token/Authentication/RefreshToken
With a request body as following:

Where Access Token is the expired token and Refresh Token is the one you got together with the access token when it was requested previously.
If everything is fine, you will receive a new Access and Refresh Tokens so you can invoke operations again and also refresh the access token when it is expired.