Download the PHP package johnriveragonzalez/saml2-okta without Composer

On this page you can find all versions of the php package johnriveragonzalez/saml2-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 saml2-okta

Filament SAML2 Okta

![Filament SAML2 Okta](docs/logo%20header%20principal%20plugin.png) **Complete SAML2 SSO authentication for Filament panels — optimized for Okta, compatible with any SAML2 identity provider.** [![Latest Version on Packagist](https://img.shields.io/packagist/v/johnriveragonzalez/saml2-okta.svg?style=flat-square)](https://packagist.org/packages/johnriveragonzalez/saml2-okta) [![License](https://img.shields.io/packagist/l/johnriveragonzalez/saml2-okta.svg?style=flat-square)](LICENSE) [![Filament](https://img.shields.io/badge/Filament-4.x%20%7C%205.x-ffb020?style=flat-square)](https://filamentphp.com)

Panel plugin that adds SAML2 single sign-on to your Filament admin panel. Configure IdP credentials, certificates, user mapping, and a login button — all from the Filament UI. Database-driven configuration (no SAML secrets in .env).

Built following the official Filament plugin guidelines: PackageServiceProvider, Filament\Contracts\Plugin, and Schema-based panel pages.


Features

Feature Description
SAML2 authentication Full SP-initiated flow with Okta, Azure AD, Google Workspace, Auth0, and any standard SAML2 IdP
Filament admin UI Settings, certificates, field mapper, and debug pages inside your panel
Auto certificates Generate and regenerate SP X.509 certificates from the panel
User provisioning Auto-create/update users, default roles, external-user flag
Field mapper Visual mapping from SAML attributes to your User model
Login button Injected via render hook with provider icons (Okta, Microsoft, Google, Auth0) or Heroicons
Debug mode Detailed SAML logs for troubleshooting
Translations English and Spanish included
Dark mode Compatible with Filament light/dark themes

Requirements

Branch Filament Laravel PHP
master / 5.x 5.x 11+ / 12+ 8.2+
4.x 4.x 11+ 8.2+

Installation

1. Install via Composer

2. Publish migrations and migrate

3. Register the plugin

In app/Providers/Filament/AdminPanelProvider.php:

4. Run the installer

This command extends your User model, updates UserResource, and completes the initial setup.

5. Optional publishes


Configuration

Open SAML2 → Configuración SAML2 in your Filament panel.

Main settings

Identity provider (Okta / IdP)

Field Description
Client ID Application client ID from your IdP
Client Secret Application secret (optional update on save)
IDP Entity ID Entity ID from Okta or your IdP
IDP SSO URL Single sign-on URL
IDP X.509 Certificate IdP public certificate

Service provider (your app)

Field Description
SP Entity ID Auto-generated metadata URL
Callback URL https://your-domain.com/saml2/callback
SP Certificate / Private Key Generate from the panel or paste your own

User settings

Login button

Debug & field mapper


Production checklist

  1. Use HTTPS — SAML2 requires TLS in production.
  2. Set APP_URL to your real domain.
  3. Register callback URL in your IdP: https://your-domain.com/saml2/callback
  4. Upload SP metadata or certificate to your IdP.
  5. Disable debug mode after testing.
  6. Run php artisan optimize after deployment.

Artisan commands


Package structure


Compatible identity providers

With bundled icons: Okta, Microsoft / Azure AD, Google Workspace, Auth0

Also compatible: OneLogin, Ping Identity, Shibboleth, ADFS, and any SAML2-compliant IdP.


Contributing

Issues and pull requests are welcome at github.com/Johnrivera7/filamentSaml2Okta.


License

MIT © John Rivera Gonzalez


Español

Plugin completo de autenticación SAML2 para paneles Filament. Instalación, configuración de Okta/IdP, certificados, mapeo de campos y botón de login desde la interfaz de administración. Compatible con Filament 4.x y 5.x. Ver secciones anteriores para instalación detallada.


All versions of saml2-okta with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.0
laravel/socialite Version ^5.0
socialiteproviders/manager Version ^4.0
socialiteproviders/saml2 Version ^4.7
spatie/laravel-package-tools Version ^1.15.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 johnriveragonzalez/saml2-okta contains the following files

Loading the files please wait ...