amplify-js
amplify-js copied to clipboard
fix(aws-amplify): createKeyValueStorageFromCookieStorageAdapter misses default path and secure values
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
- E2E tests
- Manual testing with a Next.js sample app
Checklist
- [x] PR description included
- [x]
yarn testpasses - [ ] 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.