Skip to content

Support SCIM PUT requests to replace user entities #15828

Closed
@Emyrk

Description

@Emyrk

Okta self hosted makes PUT requests to SCIM rather than PATCH.

[ScimClientImpl] [ method=deactivateUser, org=, messageId=<id>, aid= ] [INFO] - making PUT request to https://coder.example.com/scim/v2/Users/<user_id>

SCIM spec on PUT reads the request should replace the entity, rather than patching specific fields.

Okta docs on the PUT request: https://developer.okta.com/docs/api/openapi/okta-scim/guides/scim-20/#update-the-user

At the moment we only support updating the "active" attribute. Unsure if we should support changing even more?

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIcustomer-requestedFeatures requested by enterprise customers. Only humans may set this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions