aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.44k stars 2.13k forks source link

fix(api-graphql): events ws connect sig #14003

Closed iartemiev closed 1 week ago

iartemiev commented 1 week ago

Description of changes

Sigv4 calculation for Event API WS Connect was incorrectly appending a /connect path to the request URL. This is required for GQL Realtime WS Connect, but breaks for Event API.

Issue #, if available

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

Description of how you validated changes

Checklist