aws / aws/aws-appsync-community

Custom error message in aws_lambda auth

Open
#372 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.