I have created an API in Azure API Management to get data from a backend API. The backend API uses oAuth2 with an access token that expires in 10 minutes. With a returned refresh token you can get a new access token, which is again valid for another 10 minutes. And so on.
In the development portal of Azure APIM it is possible to do the authorization, which gives access for 10 minutes. After 10 minutes you have to do the authorization manually again, in order to get another 10 minutes access.
Is there a way in Azure APIM to automatically get a new access token, using the refresh token?
My goal is that the user does the authorization once manually in the development portal and after that the access token has to be refreshed automatically.
get-authorization-context
policy but with no sucess too – Unfriended