I am trying to use Cognito authorizer in a WebSocket connect route:
connectionManager:
handler: bin/ConnectionManager
events:
- websocket:
route: $connect
authorizer:
name: authorizer
arn: ‘arn’
identitySouce:
- ‘route.request.header.Authorization’
- ‘route.request.querystring.Auth’
scopes:
- ‘scope1’
- websocket:
route: $disconnect
and it does not work. Is it plan to support it?
I found this post and if I understand it correctly it works for custom authorizer from 1.39.1.
Best regards,
Grega