aws / aws/chalice

Cognito Authorizer and User Groups

Open
#783 9 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Hi,

I need to control access to my api with user groups : in the same user pool, users belong to different groups and have access to different parts (pages) of the same app. I also have the case where some users have access to 2 apps but others only one.

Cognito Authorizer only check if user belongs to cognito user pool. It would be great if I could precise user groups (or attributed roles). CustomAuthorizer may be a solution but It requires to rewrite jwt checks.

Thanks !

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by reviewing Chalice's Cognito Authorizer and CustomAuthorizer integration and documentation, then establish how group or role restrictions should be represented and tested; done means the supported access behavior is specified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, authentication, authorization, cloud
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.