By: Kartik Agarwal user 24 Mar 2021 at 8:54 a.m. CDT

7 Responses
Kartik Agarwal gravatar
Hi, We just upgraded our gluu version from 4.0 to 4.2.3. We observed that in gluu 4.2.3 sector identifier is missing from sidebar under open id connect. Then how to create a new sector identifier and add it to openid client.

By Mohit Mali staff 25 Mar 2021 at 12:38 a.m. CDT

Mohit Mali gravatar
Hi Kartik Agarwal, Gluu-version- 4.2.3, no loner have Sector Identifier menu on the UI because Sector Identifier should be managed by the Client. you can check change was done here https://github.com/GluuFederation/oxTrust/issues/2044 . Thanks and Regards! Mohit Mali.

By Kartik Agarwal user 25 Mar 2021 at 12:46 a.m. CDT

Kartik Agarwal gravatar
Hi Mohit, I checked the github issue but still unable to understand sector identifier creation process in new version. Can u please let me know how to create a new sector identifier for a client in gluu 4.2.3.

By Mohit Mali staff 26 Mar 2021 at 2:17 a.m. CDT

Mohit Mali gravatar
hi Kartik, `sector_identifier_uri` is now enabled during client registration . please try to create client you will get `sector_identifier_uri` field . thanks and regards Mohit Mali

By Jacques Laurence named 30 Mar 2021 at 5:26 p.m. CDT

Jacques Laurence gravatar
Hi Mohit, I am in the same situation as Kartik. From what I can tell, it sounds like you are suggesting we create a client dynamically via the /register endpoint. The problem here for me is that I already have a client that I created manually through the UI. Is there anyway to create and attached the sector identifier via the UI? Also, what is the "Sector URI" in the client form UI, and how is that used? Thank you

By Kartik Agarwal user 31 Mar 2021 at 1:23 a.m. CDT

Kartik Agarwal gravatar
Hi Jacques, we have resolved this issue by making a change in leftmenu.xhtml file. Add below piece of code in leftmenu.xhtml file It will make sector identifier visible in sidebar , so you can create sector identifier from there and attach client to it directly refer this github thread to check where to add below code in leftmenu.xhtml file https://github.com/GluuFederation/oxTrust/commit/995dc231eb3f3f604c23069272c73894161aa8fa ``` <li>&lt;h:commandLink value="#{msgs['leftmenu.sectorIdentifier']}" onclick="lock();" ondbclick="lock();" oncomplete="unlock();" action="#{menuAction.endConversation('/sectoridentifier/sectorIdentifierInventory.xhtml')}" rendered="#{permissionService.hasPermission('sectorIdentifier', 'access')}"&gt; <i></i> &lt;/h:commandLink&gt;</li> ```

By Jacques Laurence named 31 Mar 2021 at 10:10 a.m. CDT

Jacques Laurence gravatar
Thank you, Kartik! That solution worked perfectly!

By Alejandro Calderon user 19 Aug 2021 at 2:49 p.m. CDT

Alejandro Calderon gravatar
Hi @Mohit.Mali I've been looking for the sector_identifier_uri field as you said but I have not found it yet, in what client registration tab is?