1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Hello,
I understand that you want Websocket API to return 401 status code to client, without returning unauthorized error response from Lambda authorizer. REST API supports Gateway Response, which can be used to modify 403 status code from lambda authorizer to customized error response, including 401 status code.
At this time, Websocket API does not support Gateway Response. We already have a feature request open with the service team, regarding this. While I am unable to comment on if/when this feature may get released, I request you to keep an eye on our What's New and Blog pages for any new feature announcements.
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
Thanks for the response and links, do you have a link to that feature request? So we can follow the progress. Thanks