GluuFederation / oxAuth

OAuth 2.0 server and client; OpenID Connect Provider (OP) & UMA Authorization Server (AS)
https://gluu.org/docs/ce
MIT License
421 stars 150 forks source link

Unable to add multiple case sensitive redirect URI #1867

Closed mzico closed 10 months ago

mzico commented 10 months ago

I am trying to add case sensitive multiple redirect URI for Front Channel logout in my client. oxAuth rejecting with below error:

Processing MODIFY request for
inum=47ecec8b-cb23-45eb-8354-b4206115cc54,ou=clients,o=gluu
The LDAP modify request failed: 20 (Attribute or Value Exists)
Additional Information:  Entry
inum=47ecec8b-cb23-45eb-8354-b4206115cc54,ou=clients,o=gluu cannot be modified
because it would have resulted in one or more duplicate values for attribute
oxAuthLogoutURI: https://localhost:8443/Test_logout

How to reproduce the issue:

yuriyz commented 10 months ago

@mzico above error is from LDAP server, isn't it ? In schema for oxAuthLogoutURI attribute installation puts EQUALITY caseIgnoreMatch. Put quality to any value which makes case-exact match, for example EQUALITY caseExactMatch. Restart LDAP server and re-try use case.

mzico commented 10 months ago

@yuriyz : I can confirm that above modification in schema fix the issue. Here is what I did:

Screenshot from 2023-10-25 19-58-12