For OAuth 2.0 authentication in S4HANA Cloud, the access token and refresh token can be retrieved by sending request to https://myxxxxxx-api.s4hana.ondemand.com/sap/bc/sec/oauth2/token.
In our test, there are two requests sent to there with the same credential and client id, as a result, we receive two pair of tokens. During the testing, we observed that the first access token and the second access token are working fine, but the first refresh token is changed to invalid, and only the second refresh token works. It looks like the second refresh token overrides the first one.
So just wondering if there is a limit to refresh token where only one is allowed. Can you please help me with that? Thanks.