Dear Serverless community,
Your work has been a blessing for me. I’m using the framework since 6 months or so, and have deployed various REST APIs on AWS. Great work!
Right now I am facing a pretty big issue, which I have tried to solve for a few hours now.
I have a bunch of websocket clients which would like to contact my endpoint at address of the form wss://hostname.xxx/<client_id>
Unfortunately, it seems that this kind of behavior is not actually supported by api gateway and lambda. This seems pretty odd, as it is pretty common.
I have looked at various documentation, and in particular this medium post Using parameter mapping in WebSocket API | by Jaewoo Ahn | Medium which seems to offer some workaround, which I am unable to fully grasp for now.
I would like to ask if someone has had this experience before and has found a way to map the path to some field of the event fed to the lambda, or at least to avoid a 403 error every time somebody includes a path in the endpoint address.
Thank you very much for your help