chalice
chalice copied to clipboard
Add support for authorizers in websocket APIs
Using @app.router I can define an authorizer field argument to configure authorization layer. In API gateway, I can create a lambda authorizer for $connect, but in @app.on_ws_connect I don't have the authorizer field.
How can I achieve that?
This is a missing feature in Chalice. I think someone was initially going to work on this (https://github.com/aws/chalice/issues/1413) but I don't think that happened.
I don't see a tracking issue for this, so I'll update this issue to track this request.
It is done actually but haven't had the time to fully test the gen policy. Plan on submitting various PR soon.
Any update on this ?
Any updates on this or any workaround?
Any update on this? Just wondering what are the workarounds at the moment to authorize a websocket connection in Chalice? Should we just do it all manually for now?
Any update on this?
Alguma atualização disso?