SCIM API is not working as expected to link existing users to SCIM Client
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- I'm unable to use the PUT API to update users as linked to the SCIM Client.
- I'm not able to add new users and then update them using the PUT API linking them to the SCIM client.
- To add new users as a SCIM user, you can use the POST API or the User_PUT_ById.sh script in SCIM User API Basics. This adds a new User (linking to a SCIM client) and auto-generates the custom
Scimclientid field.
- The PUT endpoint actually is not expected to link an existing user to the SCIM Client, it should just return a 404 error with “User is not a SCIM user.” as per LPD-9395 which created the endpoint. Unlike the POST endpoint, which can link an existing user to a SCIM Client if they aren’t, PUT won’t work like this. The same should apply to User Groups.
Did this article resolve your issue ?