I’m trying to create a claim returning the groups of an application requesting a token via client credentials flow but I don’t know how to do this.
For my web interface (implicit flow with users) I managed to get the groups of my users by creating a groups scope and a claim who map groups. Using the same claim and scope on my client credentials app does not return any groups.
The weird thing is that in my claim I don’t specify if I want application or user groups, i’m just using a Value Type Groups and a Start With Filter.
So is there a way to get application groups in my token?
I also have a question regarding application properties available in claims, I can return the app.clientId but where I can finds other application properties?
They are not specified in the following documentation:
Thank you in advance.