Skip to content

Multi-Tenant Support for SCIM2 Server #9

@Th3R3p0

Description

@Th3R3p0

The current implementation lacks proper multi-tenant isolation, which is needed when serving multiple identity providers through a single API endpoint. The server currently uses a single bearer token for authentication without any mechanism to segregate data between different tenants.

We propose enhancing the implementation with tenant isolation by:

  1. Extending the authentication system to map bearer tokens to specific tenant IDs
  2. Modifying the backend interface to include tenant ID in all resource operations, ensuring data isolation regardless of the storage mechanism used
  3. Updating the resource filtering to respect tenant boundaries.

This approach maintains compatibility with the SCIM protocol while adding the necessary security boundaries between tenants, making the server suitable for multi-tenant environments where different organizations connect their identity providers to the same SCIM endpoint.

Is this something you would be interested in merging into the code? I can submit a pull request, if so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions