Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grant Roles based on for IdP-managed Groups #2

Open
2 of 4 tasks
plaurent opened this issue Dec 22, 2021 · 0 comments
Open
2 of 4 tasks

Grant Roles based on for IdP-managed Groups #2

plaurent opened this issue Dec 22, 2021 · 0 comments

Comments

@plaurent
Copy link
Contributor

Overview

In some applications users need to be authorized based on group membership reflected in the identity provider (e.g., Active Directory). One use case for this is when a company sells many seats of a product to a customer, and the customer wishes to control access by assigning users to groups.

From The Usher's perspective, user-to-group mappings are managed by the identity server, but The Usher will handle the mapping of groups to roles (and permissions).

Requirements

  • Implement the database migration to add groups and their mapping to roles.
  • Implement the database layer code for groups.
  • Add configuration for which claim in the IdP token will contain the groups information (e.g., groups).
  • Based on the groups claim, The Usher's tokens should grant any additional requested scopes that the groups allow.

Questions

  • What formatting will we need to enforce on the groups claim; can it be a space separated string?
  • Is there a use case for groups to ever block access to a role?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant