aws-amplify / aws-amplify/docs

React docs missing guidance for endpoint exception handling

Open
#6,871 0 comments 0 reactions 0 assignees View on GitHub
amplify/js
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Describe the content issue**:

For React SPA projects, there is currently a documentation gap regarding how to handle the following scenario:

1. An end user hits an API endpoint (API Gateway or AppSync for example) and either gets a 403 or an access denied exception in the GraphQL error response
2. The end user should be signed out and redirected back to the sign in page

Ideally, the documentation provided for this use case should not be coupled to the specific scenario above and allow for easily tailoring to different use cases and workflows

**URL page where content issue is**:
NA

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.