Download the PHP package dmlab/module-admin-scim without Composer

On this page you can find all versions of the php package dmlab/module-admin-scim. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-admin-scim

DmLab_AdminScim

Automatic admin offboarding for Magento 2: SCIM 2.0 provisioning from Okta or Entra.

CI codecov Packagist Version Downloads PHP Magento

Automatic admin offboarding. When IT removes a user in Okta or Entra, the Magento admin account is deactivated within minutes, and new hires get the right role before they log in. Access-control evidence for SOC 2 / ISO 27001.

Install

Using Okta or Entra? Install its provider plugin instead (dmlab/module-admin-scim-okta or -azure) — the single package that pulls this core.

Requirements

Pairs with dmlab/module-admin-sso for SSO login; this module adds background provisioning and deprovisioning.

Setup

  1. In the admin panel go to Stores → Configuration → DMLab → Admin SCIM.
  2. Enable Admin SCIM = Yes. The endpoint is disabled by default.
  3. Provider — the IdP whose request quirks are normalized. Under None a single installed provider plugin still applies; with several, none runs until one is picked.
  4. Bearer Token — set a long random value. It is stored encrypted and is the credential the IdP presents. Point your IdP's SCIM app at https://<your-store>/admin-scim/v2 and configure it to send Authorization: Bearer <token>.
  5. Request Limit — requests per minute the token may make (default 1200); beyond it 429 with Retry-After. 0 disables it.
  6. Group → Role Map — one displayName=role_id per line, mapping a SCIM group to a Magento admin role id (# lines ignored). A provisioned member gets the first matching role (admins hold a single role). displayName is not unique: a rule applies to every group with that name.
  7. Default Role Id — role assigned when an admin's groups match no rule, including admins created with no groups (applied at user create/update). Leave empty to deny (no role).

Scope

SCIM operates only on admins it created (admin_user.dmlab_scim_managed = 1). A one-time data patch at install also flags admins that already carry an externalId or a SCIM group membership — check that no local admin got flagged that way.

Supported features

Advertised honestly in ServiceProviderConfig:

Feature Supported
PATCH ✅
Filter (eq ne co sw ew gt ge lt le pr, and or not, value paths) ✅ (max 200 results)
Pagination (startIndex, count) ✅
attributes / excludedAttributes ✅
Bulk ❌
Sort ❌
ETag ❌
Change password ❌
Auth scheme OAuth Bearer Token (RFC 6750)

Security notes

Architecture

Magento is a SCIM 2.0 (RFC 7643/7644) server; the IdP is the client and pushes Users and Groups (→ ACL roles) to it. JIT provisioning in SSO acts only at login; SCIM also deprovisions. Scope is admin users only; customer provisioning is out of scope.

Endpoints

All endpoints live under the admin-scim/v2 route area, derived from the store base URL:

Method Path Purpose
GET /ServiceProviderConfig Advertised capabilities
GET /ResourceTypes · /ResourceTypes/{id} All resource types · one (404 if unknown)
GET /Schemas · /Schemas/{id} All schema definitions · one by URN (404 if unknown)
POST /Users Create an admin user (201 + Location)
GET /Users/{id} · /Users?filter=… Read one · list with filter + pagination
POST /Users/.search List via a SearchRequest body
PUT /Users/{id} Replace the whole resource
PATCH /Users/{id} Add/replace/remove attrs; active=false deprovisions, ends open admin sessions and revokes API tokens
DELETE /Users/{id} Hard delete (204)
POST /Groups Create a group (201 + Location)
GET /Groups/{id} · /Groups?filter=… Read one · list with filter + pagination
POST /Groups/.search List via a SearchRequest body
PUT /Groups/{id} Replace name, externalId and members
PATCH /Groups/{id} Attribute + member add/replace/remove
DELETE /Groups/{id} Delete (204); former members' roles re-derived

Other verbs (e.g. HEAD, OPTIONS) and /Me, /Bulk, root /.search answer 501 Not Implemented; unknown paths a SCIM 404; 401 carries WWW-Authenticate: Bearer. Errors use the RFC 7644 error schema (urn:ietf:params:scim:api:messages:2.0:Error) with the correct status. Resources carry meta.created / meta.lastModified; externalId and displayName over 255 chars are 400 invalidValue.

Filterable attributes

Users: id, userName, externalId, emails[.value], name.givenName, name.familyName, active, meta.created, meta.lastModified. Groups: id, displayName, externalId, members[.value] (eq/ne/pr), meta.created, meta.lastModified. String matching is case-insensitive except externalId; others are 400 invalidFilter.

Provider quirks

The core accepts common IdP PATCH forms: URN-prefixed paths, emails[type eq "work"].value / emails[primary eq true].value, stringified booleans. Attributes admin_user can't store (e.g. title, phoneNumbers, the enterprise extension) are ignored, not rejected; removing userName, name.*, emails or active is 400 mutability. IdP-specific shapes (e.g. Entra's flat complex attrs) are absorbed by a per-IdP plugin via a normalization seam:

License

https://dmlab.work.


All versions of module-admin-scim with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0||~8.3.0||~8.4.0||~8.5.0
magento/framework Version ^103.0.7
magento/module-user Version ^101.2.7
magento/module-authorization Version ^100.4.7
magento/module-store Version ^101.1.7
magento/module-config Version ^101.2.7
magento/module-integration Version ^100.4.7
magento/module-security Version ^100.4.7
psr/log Version ^2.0||^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dmlab/module-admin-scim contains the following files

Loading the files please wait ...