Skip to content

[FEATURE] OIDC - Custom group claim #789

@Aurel004

Description

@Aurel004

Title

OIDC - Custom group claim

Platform

Web-app

Is it related to an issue?

I'm using Zitadel, and the path "groups" doesn't exist.
By default, it does look like this:

  "urn:zitadel:iam:org:project:2801506XXXX:roles": {
    "admin": {
      "2801506XXXX": "domain.com"
    },
    "user": {
      "2801506XXXX": "domain.com"
    }
  },
  "urn:zitadel:iam:org:project:roles": {
    "admin": {
      "2801506XXXX": "domain.com"
    },
    "user": {
      "2801506XXXX": "domain.com"
    }

It's kinda rude so I've created something that map roles like this:

  "zitadel:grants:groups:2801506XXXX": [
    "user",
    "admin"
  ]

But as you can see, I would need to tell Termix to map groups using the zitadel:grants:groups:2801506XXXX claim and not the "groups" one.

Thanks !

The Solution

Add a field to set a custom group claim

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions