aws / aws/aws-appsync-community
Custom error message in aws_lambda auth
Open
- Dominant language
- HTML
- Stars
- 507
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
When configuration { isAuthorized: false } , return 401 error with fixed message "You are not authorized to make this call."
is it possible to set custom error message? or to return other error code (403 or something..)
Contributor guide
Research direction
Start with the aws_lambda auth path and the isAuthorized: false configuration described in the issue, then review the AWS AppSync authorization behavior and available error-response controls. Done would mean establishing whether custom messages or status codes such as 403 are supported and documenting or implementing the agreed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, graphql
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100