Download the PHP package dmlab/module-admin-sso-okta without Composer

On this page you can find all versions of the php package dmlab/module-admin-sso-okta. 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-sso-okta

DmLab_AdminSsoOkta

Okta login for the Magento 2 admin panel.

CI codecov Packagist Version Downloads PHP Magento

Your team signs in to the Magento admin with their Okta account — a "Sign in with Okta" button on the admin login page. Okta groups decide each person's admin role, so there are no separate Magento passwords to manage. Free, no user cap.

Install

Set up the Okta app

In the Okta Admin Console → Applications → Create App Integration:

  1. Sign-in method OIDC - OpenID Connect, application type Web Application.
  2. Sign-in redirect URI: https://<admin-host>/<admin-path>/adminsso/sso/callback (<admin-path> is the backend frontName, default admin). It must exactly match the admin URL used at runtime.
  3. Save, then copy the Client ID and Client secret.
  4. Groups claim (needed for group → role mapping; without it role mapping falls back to the default role):
    • Org server (no custom authorization server): app → Sign On → OpenID Connect ID Token → Groups claim filter, e.g. Matches regex .*. The module requests the groups scope.
    • Custom server: Security → API → Authorization Servers → <server> → Claims → add groups (ID Token, Always, value type Groups, filter e.g. Matches regex .*). The groups scope is not requested.

An existing admin is matched by email only when Okta sends email_verified=true.

Configuration

Admin → Stores → Configuration → DMLab → Admin SSO.

Field Path Value
Enable Admin SSO general/enabled Yes
Identity Provider general/active_provider Okta
Client ID / Client Secret general/client_id, general/client_secret from the Okta app
Org Domain okta/domain e.g. dev-123.okta.com; https only, scheme optional
Custom Authorization Server okta/auth_server optional server id (e.g. default); empty = org server

Paths are under dmlab_admin_sso/. The discovery URL is https://<domain>/.well-known/openid-configuration, or https://<domain>/oauth2/<auth-server>/.well-known/openid-configuration with a custom server. Group → role mapping and enforce-SSO/break-glass are set in admin-sso.

Requirements

Pairs with admin-scim-okta for automatic admin offboarding · built on admin-sso.

Architecture

This module is the Okta provider plugin for admin-sso. It supplies only an Okta preset (Model/OktaPreset.php): the discovery URL built from the org domain, scopes (groups only for the org server), the groups claim and the login-button label and logo. etc/di.xml registers it into admin-sso's PresetRegistry. The OIDC protocol lives in sso-core; admin users, roles and the login flow live in admin-sso.

License

https://dmlab.work.


All versions of module-admin-sso-okta 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-config Version ^101.2.7
dmlab/module-admin-sso Version ^0.2.0||^0.3.0
dmlab/module-sso-core Version ^0.2.0||^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-sso-okta contains the following files

Loading the files please wait ...