-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Closed
Copy link
Labels
comp-jans-cedarlingTouching folder /jans-cedarlingTouching folder /jans-cedarlingenhancementkind-featureIssue or PR is a new feature requestIssue or PR is a new feature request
Milestone
Description
Is your feature request related to a problem? Please describe.
User can define in cedar-policy
schema custom type and cedarling
should have support to build this type for entity
.
Describe the solution you'd like
We have defined Token Entity Metadata Schema
"claim_mapping"
. This mapping should define how we map JWT payload attribute to cedar-policy
type.
"parser": "regex" - define that mapping use regex
expression.
"type": "Jans::Url" - define what type in cedar-policy
schema we want to map.
"regex_expression" - is actually regexp expression
and other fields are capture names, and it's mapping to fields of cedar-policy
type
Describe alternatives you've considered
Hard-code some types or how we should map it.
Metadata
Metadata
Assignees
Labels
comp-jans-cedarlingTouching folder /jans-cedarlingTouching folder /jans-cedarlingenhancementkind-featureIssue or PR is a new feature requestIssue or PR is a new feature request