
t04wl (t04wl) asked a question.
We are trying to tie some custom metadata to IDPs in Okta. I see that I can define a "custom attribute" for an IDP in the profile section, however I don't see where I can define a default value for this custom attribute. This is internal data that we are trying to define for IDPs, so there is nothing to map to in the "Profile Mappings" section.
The only way I can think to do this is to build my own service to hold custom data for an IDP, and add it onto a users JWT with inline hooks. Is there a more elegant way to do this in Okta without having to build my own service/datastore?

Hi @t04wl (t04wl),
Thank you for posting on the Okta community page!
I am not sure I have understood your question entirely but I suppose you could store the value of the attribute on the user profile in Okta and map this attribute to the custom one configured for the IdP.
Additionally, I managed to find the below dev forum:
Hi @flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery), that was my first thought. However, from what I can tell that only works if the attribute value is coming from the external IDP. In our case, I want to define some internal value and apply it to the IDP. For example, I want to create an `idp_type` field and value, and somehow associate it with the IDP. I have been unable to find any documentation or examples for this particular use case. The only thing I can think of would be to maintain my own datastore to hold this information, but that isnt a great solution. Do you know of any way I can achieve this in Okta?