Download the PHP package rohit-raj-verma/pimcore-msentra-saml-login without Composer

On this page you can find all versions of the php package rohit-raj-verma/pimcore-msentra-saml-login. 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 pimcore-msentra-saml-login

SSOBundle

A Pimcore bundle that adds SAML 2.0 based Single Sign-On (SSO) to the Pimcore admin login. Supports Microsoft Entra ID (Azure AD) and other SAML 2.0 compliant Identity Providers.

Features

Requirements

Installation

Step 1: Install via Composer

Step 2: Enable the Bundle

Add the bundle to your config/bundles.php:

Step 3: Configure Environment Variables

Add the following variables to your .env file:

Variable Description Example
SAML_SP_ENTITY_ID The Entity ID of your Identity Provider (IdP) https://sts.windows.net/{tenant-id}/
SAML_SP_REPLY_URL The ACS (Assertion Consumer Service) URL — your Pimcore domain + /saml/acs https://example.com/saml/acs

Step 4: Configure Identity Provider Metadata

Replace the placeholder values in vendor/rohit-raj-verma/pimcore-sso-bundle/Resources/config/saml-idp.xml with your IdP metadata, or copy the file to your project config directory.

For Microsoft Entra ID (Azure AD):

  1. Go to Azure Portal > Enterprise Applications > Your App > Single sign-on
  2. Download the Federation Metadata XML
  3. Copy the entityID and SingleSignOnService Location values into saml-idp.xml

Example saml-idp.xml:

Step 5: Configure Azure AD / MS Entra (IdP Side)

In your Identity Provider, configure the following:

Setting Value
Identifier (Entity ID) https://your-pimcore-domain.com/saml/acs (same as SAML_SP_REPLY_URL)
Reply URL (ACS URL) https://your-pimcore-domain.com/saml/acs
Sign-on URL https://your-pimcore-domain.com/saml/login

Required SAML Claims / Attributes:

Claim Description
emailaddress User's email (used as Pimcore username)
displayname User's full name
givenname First name (optional, fallback)
surname Last name (optional, fallback)

Step 6: Clear Cache

Usage

After installation, the Pimcore admin login page will display a "Login with SSO" button below the standard login form.

Login Flow

  1. User clicks "Login with SSO" on the Pimcore admin login page
  2. The bundle sends a SAML AuthnRequest to the configured IdP
  3. User authenticates with the IdP (e.g., Microsoft login)
  4. IdP sends a SAML Response back to /saml/acs
  5. The bundle validates the response and extracts user attributes
  6. If the user doesn't exist in Pimcore, a new admin user is created automatically
  7. User is logged into Pimcore admin

Routes

Route Path Description
saml_login /saml/login Initiates the SAML authentication request
saml_acs /saml/acs Assertion Consumer Service — receives the IdP response

How It Works

License

This bundle is released under the MIT License.


All versions of pimcore-msentra-saml-login with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
pimcore/pimcore Version ^11.0
pimcore/admin-ui-classic-bundle Version ^1.0
simplesamlphp/saml2 Version ^5.0
nyholm/psr7 Version ^1.5
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 rohit-raj-verma/pimcore-msentra-saml-login contains the following files

Loading the files please wait ...