By: Ed DP user 21 Sep 2021 at 1:45 p.m. CDT

7 Responses
Ed DP gravatar
We have tried to add a sector identifier, but in this new version 4.2.0 we have noticed this has changed. Searching the forum we have found answers that say that this is now handled by the client and that it must be a valid json format. tried to add that json but we are getting an error. ![](https://firebasestorage.googleapis.com/v0/b/mis-pruebas-361b1.appspot.com/o/image_2.png?alt=media&token=6d48a8f3-fbae-47d2-8e39-23def1acc8af) ![](https://firebasestorage.googleapis.com/v0/b/mis-pruebas-361b1.appspot.com/o/image_3.png?alt=media&token=61f1cf8e-c862-433a-9e41-23d1bceeeb58) Hope you can guide me and know what we are doing wrong.

By Mobarak Hosen Shakil staff 21 Sep 2021 at 2:28 p.m. CDT

Mobarak Hosen Shakil gravatar
Hi Eduardo Dorantes, Can you please update the ticket? Image links are broken. Please share the documentation link you have followed. this link may help you: https://support.gluu.org/upgrade/9948/how-to-create-sector-identifiers-in-423/#at71869 Regards ~ Shakil

By Ed DP user 21 Sep 2021 at 4:04 p.m. CDT

Ed DP gravatar
I have updated the images, if you can help us solve this issue as we review the documentation

By Mobarak Hosen Shakil staff 23 Sep 2021 at 11:12 a.m. CDT

Mobarak Hosen Shakil gravatar
Hi Eduardo, Starting from 4.2.x, the sector identifier is no longer handle by the OP. During OIDC creation, the sp should provide the sector identifier uri which contains an array of uris. > [https://support.gluu.org/upgrade/9948/how-to-create-sector-identifiers-in-423/#at71869](https://support.gluu.org/upgrade/9948/how-to-create-sector-identifiers-in-423/#at71869) Regards ~ Shakil

By Ed DP user 23 Sep 2021 at 11:46 a.m. CDT

Ed DP gravatar
Thank you for your answer, but you generated another question, what do you mean with OIDC creation? It's about Client creation/update? I am very new to this and I do not know this part

By Mobarak Hosen Shakil staff 24 Sep 2021 at 2:17 p.m. CDT

Mobarak Hosen Shakil gravatar
yes, OIDC means `OpenID Client`.

By Ed DP user 24 Sep 2021 at 3:56 p.m. CDT

Ed DP gravatar
I explain the problem, we have native applications that in the previous version of gluu we registered it with the sector identifier, now we try to register the route and it shows us an error ![](https://firebasestorage.googleapis.com/v0/b/mis-pruebas-361b1.appspot.com/o/img4.png?alt=media&token=5f2f4ba4-b43d-4fec-ba4b-fba056cd2911) ![](https://firebasestorage.googleapis.com/v0/b/mis-pruebas-361b1.appspot.com/o/img5.png?alt=media&token=f7cc753a-94ab-4d44-ac2e-829b8ec4ce60) What is the process to follow to solve this?

By Michael Suhr user 07 Dec 2021 at 6:04 a.m. CST

Michael Suhr gravatar
normally it should be done with useage of sector URI which contains the redirect URI as JSON array. The the custom schem will allowed as redirect uri But custom schemes are lead to an error because they are malformed due parsing via 'new URL(uri)' instead of 'new URI(uri)' If you try to add an additional URI to redirect URI it will show that the URL is malformed because it try to parse the URI with custom scheme