Issue: GET request to SCIM endpoint returns 404 when "scim" is part of the user externalId
Description:
When making a GET request to the SCIM endpoint with a user externalId that contains the keyword "scim", the server returns a 404 status code with the error "Endpoint not found for resource".
Steps to Reproduce:
- Create a user with a Username/ExternalId that includes the keyword "scim" (e.g., "SCIM123").
- Perform a GET request to the SCIM endpoint using the created Username/ExternalId.
Example Request:
GET 'https://{{host}}/scim/tenant1/users/SCIM123'
Expected Result:
The user data should be fetched successfully.
Actual Result:
The server responds with a 404 status code and the error "Endpoint not found for resource".
Additional Information:
- The issue occurs specifically when the keyword "scim" is part of the user externalId.
- Other user externalIds without the keyword "scim" work as expected.
Attached issue screenshot and logs.
Issue logs.txt
