User Profile missing from API response

we are using the API to list all users in an application. We wanted to display them in a list on our webpage, but it seems the profile attribute is empty in the API response. In the documentation, the profile is there:

In our response, it just says profile: {},…
Is this a new change, or is it something we do wrong? Are we able to get the profile somehow, without doing a foreach user call?

Users in Okta have two types of profiles: an Okta profile and an application user profile (for each application they are assigned to). This means that you can store profile information on the “base” user, and also different profile information for each application. In other words, you can store app-specific information for each user.

The endpoint you are using to list the users assigned to an application is returning the application user profile. It’s probably empty because you are only storing user profile info on the Okta profile.

Are you making HTTP requests to the API yourself, or are you using one of our SDKs?

That being said, by default the Okta user profile values should be mapped to the application user profile. If you go to Users > Profile Editor and click on Profile Mapping for your application, you should see something like:

What does your configuration look like?

thank you for replying! Sorry for not responding, I forgot to follow up before my holiday.

I am using requests to the API for this.
This is starting to make sense now. The App I am using is a bookmark app, but if I change to use another app, the profile is returned “correctly” with all the info I need.
Is there anything special with the bookmark app?

Our structure is that each group represents a customer, and contains of all users. I would like to group some of the groups, so to speak, so that I can get a list of all the users from a set of customers in one API call. Given the structure we have, I figured the easiest would be to just use a bookmark app as an outer group (since I do not see any possibility for nesting groups) and then get all users by AppId. I guess I could use a different app, but the approach I am using is starting to feel a bit messy.
Also, I am not able to find “Users” on any app. Do you mean “People”? Also, in Profile Editor, the bookmark apps does not appear, so I am unable to see any mappings.

Do you have a better idea for my case?
I could make a new group and add all users from all the other groups into this one, but then its a new step to maintain since it will be on User level instead of Group level.