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

feat (jans-cedarling): Add bootstrap properties for CEDARLING_USER_IDENTIFIER and CEDARLING_WORKLOAD_IDENTIFIER #10527

Open
9 tasks
nynymike opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
comp-cedarling kind-feature Issue or PR is a new feature request
Milestone

Comments

@nynymike
Copy link
Contributor

nynymike commented Dec 30, 2024

Description

The Trusted Issuer Metadata Schema enables the mapping for each token entity. But we need a system-wide way to specify the User and Workload entity ids.

We need two new bootstrap properties:

  • CEDARLING_USER_IDENTIFIER : default sub-- uses the specified claim of the id_token or userinfo_token as the Cedar User entity identifier. If none present, ignores token.
  • CEDARLING_WORKLOAD_IDENTIFIER : default client_id-- uses the specified claim of the access_token as the Cedar Workcload entity identifier. If none present, ignores token.

Identified code changes

  • task 1
  • task 2
  • task 3

Test cases and code coverage

  • Write unit test to cover added/changed code
  • Update integration tests to cover added/changed code

Document the changes

  • task for updating user guides if needed
  • task for updating installation and configuration guides if needed
  • task for updating developer documentation if needed
  • task for updating technical documentation if needed
@nynymike nynymike added this to the next release milestone Dec 30, 2024
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-cedarling kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

3 participants