Open chrisharrison opened 2 years ago
This fixes #666
This should be applied as a hotfix to aws-appsync-auth-link
version 2.0.5
The Amplify docs still advises to use this repo when using Apollo Client: https://docs.amplify.aws/lib/graphqlapi/upgrade-guide/q/platform/js/#option-2-upgrade-to-apollo-client-with-appsync-links
Wouldn't it make sense to merged this PR then? Or is there by now an alternative advised approach of how to use Apollo Client with AppSync?
Issue #, if available:
666
Description of changes:
Allows the
headerBasedAuth
function to actually update the headers with the new value.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.