Skip to content

Support nested PermissionsClaimName #9625

@taraspos

Description

@taraspos

Is your feature request related to a problem? Please describe.

Some JWT providers use nested claims format, like:

{
  "traits": {
    "temporal": [
      "one",
      "two",
      "three"
    ]
  }
}

Configuring PermissionsClaimName to traits.temporal would allow to use them without needing to write CustomClaimsMapper.

Describe the solution you'd like
Ability to specify JSONPath for PermissionsClaimName.

Describe alternatives you've considered
Creating custom ClaimsMapper as per https://docs.temporal.io/self-hosted-guide/security#authorization

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions