aws-amplify / aws-amplify/amplify-cli

Import auth with UserPoolGroups

Open
#8,083 0 comments 0 reactions 0 assignees View on GitHub
auth feature-request p3
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Is this related to a new or existing Amplify category?

auth

### Is this related to another service?

API Rest

### Describe the feature you'd like to request

Add (default) option to include UserPoolGroups while running `import auth`.
Without auth groups new project is not able to set correct permission on REST API.
Authed calls to protected API are denied from group members.

### Describe the solution you'd like

Import auth along with UserPoolGroups.

### Describe alternatives you've considered

As an alternative I was considering Cognito Authorizer for the API but that option is not available yet (5.0.2).
Still, that would just a quick workaround and not the solution we need.

### Additional context

_No response_

### Is this something that you'd be interested in working on?

- [ ] 👋 I may be able to implement this feature request
- [ ] ⚠️ This feature might incur a breaking change

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.