# Where do Application User Profile and IdP User Profile come from?

**URL:** <https://devforum.okta.com/t/where-do-application-user-profile-and-idp-user-profile-come-from/798>\
**Category:** Questions\
**Created:** [November 23, 2017, 9:31am UTC](https://devforum.okta.com/t/where-do-application-user-profile-and-idp-user-profile-come-from/798 "2017-11-23T09:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![k\_sze](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/k_sze/32/223_2.png) [@k\_sze](https://devforum.okta.com/u/k_sze)\
**Post date:** [November 23, 2017, 9:31am UTC](https://devforum.okta.com/t/where-do-application-user-profile-and-idp-user-profile-come-from/798/1 "2017-11-23T09:31:37Z")

</div>

Hello,

I was reading the documenation about Okta Expression Language ([https://developer.okta.com/reference/okta\_expression\_language/#application-user-profile](https://developer.okta.com/reference/okta_expression_language/#application-user-profile)), and I’m quite confused about Application User Profile and IdP User Profile.

The way I understand it is that, when talking about Application User Profile and IdP User Profile in the context of Okta Expression Language, we are _reading_, _retrieving_, or _referencing_ those profiles’ attributes and that we are not _assigning_ values to those profile attributes using Okta Expression Language, e.g. in a claim of a token.

So where do the Application User Profile and IdP User Profile’s attributes come from?  
How do they get populated? Suppose I have an SPA. Would the SPA call an Okta API or SDK function to populate the application user profile or IdP user profile?

Do the application and IdP user profiles get saved on Okta’s auth server? If I go to [https://dev-XXXXXX-admin.oktapreview.com/admin/users](https://dev-XXXXXX-admin.oktapreview.com/admin/users), I don’t really see any indication that there can be separate application or IdP user profiles for my users.

---

<div class="post-metadata">

**Author:** ![Govner](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/govner/32/1099_2.png) [@Govner](https://devforum.okta.com/u/Govner)\
**Post date:** [May 7, 2019, 9:07am UTC](https://devforum.okta.com/t/where-do-application-user-profile-and-idp-user-profile-come-from/798/2 "2019-05-07T09:07:12Z")

</div>

Under Directory\>Profile Editor you can apply mappings for these attributes in each schema

Generally if you have an on-prem directory configured you would apply an expression to map the attribute from AD or LDAP to the user or appuser profile

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 18, 2024, 12:53am UTC](https://devforum.okta.com/t/where-do-application-user-profile-and-idp-user-profile-come-from/798/3 "2024-01-18T00:53:05Z")

</div>

Closed on January 18, 2024, 12:53am UTC


