# Custom attributes for Identity Providers

**URL:** <https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891>\
**Category:** Ignition\
**Created:** [June 22, 2020, 9:53pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891 "2020-06-22T21:53:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ks0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ks0/32/6813_2.png) [@ks0](https://forum.inductiveautomation.com/u/ks0)\
**Post date:** [June 22, 2020, 9:53pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/1 "2020-06-22T21:53:51Z")

</div>

Is there any way to add custom attributes to the identity provider setup? There are some user metadata held in our idp that I would like to have as session properties in perspective.

Thanks!

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [June 22, 2020, 11:19pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/2 "2020-06-22T23:19:06Z")

</div>

What type of IdP is this user metadata coming from (SAML or OIDC)?

From where would this data be coming? For example: if the answer to the above is OIDC, is the data coming from claims on the ID token, claims on the User Info API Response, or elsewhere?

There is work in progress right now which may satisfy your use case, but it’s difficult to tell for sure without some more info.

---

<div class="post-metadata">

**Author:** ![ks0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ks0/32/6813_2.png) [@ks0](https://forum.inductiveautomation.com/u/ks0)\
**Post date:** [June 22, 2020, 11:40pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/3 "2020-06-22T23:40:20Z")

</div>

Thanks @jspecht, it’s OIDC and yeah - claims on the ID token. Cheers

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [June 22, 2020, 11:52pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/4 "2020-06-22T23:52:43Z")

</div>

Ok great, I’ll update this thread once the work I mentioned makes its way to the early access build. It should solve your problem.

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [July 25, 2020, 1:40am UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/5 "2020-07-25T01:40:24Z")

</div>

Circling back to this thread. We have added the ability to access the ID token claims from a perspective session prop. See [Added Support for OIDC User Info and Token Endpoint Response](http://forum.inductiveautomation.com/t/added-support-for-oidc-user-info-and-token-endpoint-response/37075) for more details.

---

<div class="post-metadata">

**Author:** ![ks0](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ks0/32/6813_2.png) [@ks0](https://forum.inductiveautomation.com/u/ks0)\
**Post date:** [July 26, 2020, 8:07pm UTC](https://forum.inductiveautomation.com/t/custom-attributes-for-identity-providers/35891/6 "2020-07-26T20:07:10Z")

</div>

Awesome Joel! I will give it a go. Cheers
