Hello
I am trying to integrate Jira with Zitadel. And one of the claims that Jira wants is groups. and Zitadel doesn't send it by default.
So I had to send it custom.
function addClaim(ctx, api) {
let groups = {
"name": ["admin"],
};
api.v1.claims.setClaim('group', groups)
}
but i got this error message:
The "group" claim is not a list / JSON array
And I don't know how this claim should be sent. can you help me