amplify-js icon indicating copy to clipboard operation
amplify-js copied to clipboard

fix(aws-amplify): createKeyValueStorageFromCookieStorageAdapter misses default path and secure values

Open HuiSF opened this issue 1 year ago • 0 comments

Description of changes

Added default path: '/' and secure: true to the cookies setting options from the server side.

Issue #, if available

https://github.com/aws-amplify/amplify-js/issues/13509

Description of how you validated changes

  1. E2E tests
  2. Manual testing with a Next.js sample app

Checklist

  • [x] PR description included
  • [x] yarn test passes
  • [ ] Tests are changed or added
  • [ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

HuiSF avatar Jun 18 '24 17:06 HuiSF