I am requesting an access token with a refresh token and I would like to try handle for an expired token.
I am not in a position to revoke the refresh tokens for my test accounts to try figure it out.
I have tried giving an invalid refresh token biut it gives the error
{"error":"invalid_grant","error_description":"AADSTS9002313: Invalid request. Request is malformed or invalid.\r\nTrace ID: ecf9fec9-b75c-4b4c-9c74-70273e6d1b00\r\nCorrelation ID: 44946f49-bb25-450d-86d3-121d3f279f21\r\nTimestamp: 2019-07-24 16:15:20Z","error_codes":[9002313],"timestamp":"2019-07-24 16:15:20Z","trace_id":"ecf9fec9-b75c-4b4c-9c74-70273e6d1b00","correlation_id":"44946f49-bb25-450d-86d3-121d3f279f21"}
Obviously it is detecting it as a not a valid refresh token apposed to an expired token