we have configured a user pool in AWS Cognito with a federated idp with identity provider type as OIDC.
we are a web application which authenticates user login with AWS Cognito user pool.
In web app, on expiry of AWS Cognito access token, we are refreshing the access token using refresh token. however, it seems that AWS Cognito only shares AWS Cognito's refreshed access token. Access token of federated IDP is not refreshed.
how can i ensure that the access token of federated idp is refreshed as part of AWS Cognito access token refresh api call ?