aws / aws/chalice

Customized Gateway Response

Open
#1,268 4 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

In aws console APIGW, there is a Authorizer Failure, resides under "Gateway Response", by default the Authorizer Failure is set Response Status Code to 500, what is the area in chalice that i can configure this to use 403 instead? I could not find anywhere reference on chalice apigateway documents https://chalice.readthedocs.io/en/latest/api.html#apigateway

thank you for your support
Default in Gateway Response is 500, i want to set via chalice to 403, see screen shot,

![gatewayresponse](https://user-images.githubusercontent.com/47018632/66350532-8f61e800-e929-11e9-8ab9-59e2137eb24c.PNG)

Contributor guide

Open the contributing guide

Research direction

Start with Chalice's API Gateway documentation and the AWS API Gateway Gateway Response settings described in the issue. Trace where Chalice configures authorizer failures and determine the appropriate configuration surface for changing the response status to 403. Done means the behavior is configurable through Chalice and documented with a verification path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.