Listing groups assigned to application returns empty profile

When I make the following request: /api/v1/apps/{applicationId}/groups the response always involves an empty profile resource:

image

This also happens when I test the request in my browser (e.g. test.oktapreview.com/api/v1/apps/{applicationId}/groups). Does anyone have an idea what causes this and/or how this could be fixed? Thanks in advance.

Hi @ruby

The profile section represents custom attributes that have been declared in the app under Admin >> Users/Directory >> Profile Editor >> your OIDC app >> Profile and then mapped to the group under Assignments tab.

Here is an example of a response that contains a custom attribute

[{
    "id": "00g410dxkiBEKvwVc2p7",
    "lastUpdated": "2019-05-22T13:52:49.000Z",
    "priority": 0,
    "profile": {
        "test_token": null
    },
    "_links": {
        "app": {
            "href": "https://dragos.okta.com/api/v1/apps/0oa2fatx70JGiU2TA2p7"
        },
        "self": {
            "href": "https://dragos.okta.com/api/v1/apps/0oa2fatx70JGiU2TA2p7/groups/00g410dxkiBEKvwVc2p7"
        },
        "group": {
            "href": "https://dragos.okta.com/api/v1/groups/00g410dxkiBEKvwVc2p7"
        }
    }
}]