aws-amplify / aws-amplify/docs

Amplify CLI REST API Contains Incorrect Authorization options

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

Description

**Describe the content issue**:
The documentation mentions the `Individual Groups` option for restricting API access here
![image](https://github.com/aws-amplify/docs/assets/17751995/4bafa609-628e-45d5-b144-2b248d5db2ee)

when trying to mimick this locally, I do not get the `Individual Groups` option:
![image](https://github.com/aws-amplify/docs/assets/17751995/4b608058-04cb-43bd-b13f-5a51c4161943)

I am just trying to find the simplest way to do Cognito User Group based Authorization for either a REST API or a Lambda function. The GraphQL API documentation mentions clear support for role-based authorization that is consistent with the Amplify CLI, cannot say the same for the REST API or Functions options.

**URL page where content issue is**:
https://docs.amplify.aws/cli/restapi/restapi/#create-rest-api-and-restrict-specific-routes-to-specific-user-pool-groups

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.