# Identity provider roles not showing up in Security Level Rules?

**URL:** <https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 7, 2024, 10:51pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371 "2024-11-07T22:51:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 7, 2024, 10:51pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/1 "2024-11-07T22:51:27Z")

</div>

Hello, I am having some trouble with Roles, they just won't show on the security level rules screen. Ignition version 8.1.42, docker image running on WSL

- Our UserSource is in manual mode, and running the query brings back roles
- As well system.user.getRoles("") also returns all the roles
- Under Edit Users the Roles tab shows the roles

But:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8e264997c13c59089c888a0c144dc51a8ad96d55.png)  
No roles?

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [November 8, 2024, 3:02pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/2 "2024-11-08T15:02:13Z")

</div>

I am curious,  
in the designer do the roles show up when accessing the configure view permissions section?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/0/e0cfc575412e93d27fae7aaa7226143ecfe76076.png)

---

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 8, 2024, 3:23pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/3 "2024-11-08T15:23:30Z")

</div>

Nothing there either:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/7011d71c8a2c6bda901e3a85779df81bf3bef8b7.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 8, 2024, 3:25pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/4 "2024-11-08T15:25:45Z")

</div>

IIRC, roles have to be manually added to the gateway's config page referenced in that screenshot before they can be referenced in your UI.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [November 8, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/5 "2024-11-08T15:29:54Z")

</div>

So you actually have roles here? under the user,roles section in the gateway config.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/7/2714534f8e43b90637bff337713e24f400230c1b.png)

The only other thing I can think of is maybe in your project properties you don't have the IdP setup to the right one, but that wouldn't explain there being no roles or anything in the Security levels section

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f2aaba56e231ae646039e92f8e54e71fbd6e26de.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/70c71a241898f4086d317a60cbde3be456b7b165.png)

---

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 8, 2024, 3:35pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/6 "2024-11-08T15:35:13Z")

</div>

These are our roles. Can't edit them directly since we are using manual mode.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/919b5a724cf512d5808778e656f09f8a1f097341.png)

I tried also in automatic mode and just added a few roles and still they wouldnt show up in the security level rules or the project

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [November 8, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/7 "2024-11-08T15:44:14Z")

</div>

I see, I missed the _ **manual** _ mode.

> [@pturmel](#):
>
> roles have to be manually added to the gateway's config page referenced in that screenshot before they can be referenced in your UI.

as Phil said you may need to add them manually to the config section, as they may not pull in from the database. This is done by just adding in the roles section and the names of the roles under that just like in my example screenshot.

If this is not satisfactory you may need to contact support.

---

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 8, 2024, 4:00pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/8 "2024-11-08T16:00:28Z")

</div>

Even trying that doesn't work, might be a bug or something. I'll contact support

---

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 8, 2024, 6:00pm UTC](https://forum.inductiveautomation.com/t/identity-provider-roles-not-showing-up-in-security-level-rules/98371/9 "2024-11-08T18:00:42Z")

</div>

Had the Config-\>Security\>Security Levels, not set up right. Once that was right they showed up in the idp
