Add support for authorizers in websocket APIs
Author: rafaganCreated Jul 20, 2020Updated Nov 27, 2025
Labelsfeature-request
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?
Source: aws/chalice