wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 728 forks source link

[SCIM2] Incorrect status code return for unsupported filter request #11182

Closed AnjanaSamindraPerera closed 1 week ago

AnjanaSamindraPerera commented 3 years ago

Describe the issue: In SCIM Specification there are several filters we can use. If a request sent to a unsupported filter, it shows 500 internal error status code. Screenshot from 2021-02-04 22-17-39

How to reproduce: Send a request to https://localhost:9443/scim2/Users?filter=name.givenName+ne+kim (Here using unsupported filter ne)

Expected behavior: Status code 501(not implemented) should be provided instead of 500. [1]

Environment information (Please complete the following information; remove any unnecessary fields) :

References: [1]https://tools.ietf.org/html/rfc7644#page-68

isharak commented 1 week ago

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!