We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue: If you check the local claims list of WSO2 IS, "http://wso2.org/claims/streetaddress" claim is duplicated.
<Claim> <ClaimURI>http://wso2.org/claims/streetaddress</ClaimURI> <DisplayName>Address</DisplayName> <AttributeID>streetAddress</AttributeID> <Description>Address</Description> <DisplayOrder>4</DisplayOrder> <SupportedByDefault /> </Claim>
<Claim> <ClaimURI>http://wso2.org/claims/streetaddress</ClaimURI> <DisplayName>Address - Street</DisplayName> <AttributeID>streetAddress</AttributeID> <Description>Address - Street</Description> <DisplayOrder>5</DisplayOrder> </Claim>
Since the local claim list is read by the file and put into a Map setting claim URI as the key, the last occurance will be valid. https://github.com/wso2/carbon-kernel/blob/afaec7b3a43d4ac0fe4a17c078ca29c8fbdb46e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/inmemory/FileBasedClaimBuilder.java#L167C21-L167C27
Better to remove the duplicates/ unwanted claims to avoid confusions.
How to reproduce: Mentioned in the description.
Expected behavior: Claims list should contain unique claim URIs.
Environment information (Please complete the following information; remove any unnecessary fields) :
The text was updated successfully, but these errors were encountered:
Hi @AnuradhaSK are you currently working on this issue? I’d like to contribute. Could you please confirm?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the issue:
If you check the local claims list of WSO2 IS, "http://wso2.org/claims/streetaddress" claim is duplicated.
Since the local claim list is read by the file and put into a Map setting claim URI as the key, the last occurance will be valid.
https://github.com/wso2/carbon-kernel/blob/afaec7b3a43d4ac0fe4a17c078ca29c8fbdb46e4/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/claim/inmemory/FileBasedClaimBuilder.java#L167C21-L167C27
Better to remove the duplicates/ unwanted claims to avoid confusions.
How to reproduce:
Mentioned in the description.
Expected behavior:
Claims list should contain unique claim URIs.
Environment information (Please complete the following information; remove any unnecessary fields) :
The text was updated successfully, but these errors were encountered: