aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

aws-appsync-auth-link: how to correct system clock skew and pass systemClockOffset to the AppSync

Open AlessioVallero opened this issue 3 years ago • 1 comments

Note: If your issue/feature-request/question is regarding the AWS AppSync service, please log it in the official AWS AppSync forum

Do you want to request a feature or report a bug? feature What is the current behavior? When using Apollo GraphQL and instantiating an ApolloClient with aws-appsync-auth-link, how can we pass the systemClockOffset option to the Amplify instance so that we can correct clock skew issues?

Something like:

{
......
    systemClockOffset: -3600000,
})

Thanks in advance!

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions?

AlessioVallero avatar Aug 06 '22 06:08 AlessioVallero

Is there any update on this?

It is effecting our customers using IAM credentials - how do we fix this?

danielvouch avatar Sep 02 '22 01:09 danielvouch