PHPackages                             nzta/silverstripe-okta - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nzta/silverstripe-okta

AbandonedArchivedSilverstripe-vendormodule

nzta/silverstripe-okta
======================

A module for okta integration

2.1.0(3y ago)16855BSD-3-ClausePHP

Since Oct 10Pushed 2y agoCompare

[ Source](https://github.com/NZTA/silverstripe-okta)[ Packagist](https://packagist.org/packages/nzta/silverstripe-okta)[ Docs](https://github.com/NZTransportAgency/okta)[ RSS](/packages/nzta-silverstripe-okta/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (7)Versions (7)Used By (0)

Okta Integration
================

[](#okta-integration)

Okta provides secure identity management and single sign-on to the application, whether in the cloud, on-premises or on a mobile device for every employee.

Requirements
------------

[](#requirements)

SilverStripe 4.x

Version info
------------

[](#version-info)

The master branch of this module is currently aiming for SilverStripe 4.x compatibility

- [SilverStripe 3.0+ compatible version](https://github.com/NZTA/silverstripe-okta/tree/1.0.0)

Configuration
-------------

[](#configuration)

You will need to setup signing certificates for the SAML assertions for both single login and single logout.

Self signed certificates for development can be generated using this helper tool:

These certificates can be defined with any name you wish and can be stored anywhere on the server. You will also need to upload the certificates to your Okta application.

You will then need to add the following environment variables in your `.env` file:

VariableExample valueNotesSS\_OKTA\_SP\_ISSUERYour application domain nameSS\_OKTA\_SP\_LOGOUT\_URL-SS\_OKTA\_SP\_X509'/var/www/certs/org-sp.crt'Example path to generated cert for SLOSS\_OKTA\_SP\_PEM'/var/www/certs/org-sp.pem'Example path to generated private key for cert above for SLOSS\_OKTA\_IDP\_X509CERT'/var/www/certs/org-idp.crt'Download this certificate from OktaSS\_OKTA\_IDP\_ISSUER-SS\_OKTA\_IDP\_LOGIN\_URL-SS\_OKTA\_IDP\_LOGOUT\_URL-SS\_OKTA\_IP\_WHITELIST127.0.0.1,192.168.0.10You bypass login through Okta for development by adding your IP addressYou can obtain the SS\_OKTA\_IDP\_X509CERT, SS\_OKTA\_IDP\_ISSUER, SS\_OKTA\_IDP\_LOGIN\_URL and SS\_OKTA\_IDP\_LOGOUT\_URL information from Okta, e.g. https://{org}.okta.com/app/{appname}/{XYZ123}/setup/help/SAML\_2\_0/instructions

Where:

org: organization name appname: application name which is defined by Okta XYZ123: random app id which is defined by Okta

Alternatively:

1. Login to your okta account
2. Click the admin button
3. Click applications in applications menu
4. Click your application from list of applications
5. Click on the 'Sign On' tab
6. Click on the 'view setup introduction' button

You will see the details and the download option for the certificate.

### Setup SAML settings in Okta

[](#setup-saml-settings-in-okta)

1. Login to your Okta account and follow the last steps to go to your application
2. Click 'General' tab
3. Click 'Edit' button in SAML settings
4. Click 'Next'
5. Click 'Show Advanced Settings'

Update the following settings

FieldValueSingle sign on URLAudience URI (SP Entity ID)Name ID formatUnspecifiedApplication usernameEmailResponseSignedAssertion SignatureSignedSignature AlgorithmRSA-SHA256Digest AlgorithmSHA256Assertion EncryptionUnencryptedKey Transport AlgorithmRSA-OAEP### Setup Attribute statements

[](#setup-attribute-statements)

NameValueFirstNameuser.firstNameSurnameuser.lastnameEmailuser.emailLoginuser.loginSIDuser.uniqueID### Assign people/accounts in okta

[](#assign-peopleaccounts-in-okta)

login to your okta account and follow the last steps to go to your application, then add people/accounts from the people section to give access to the application.

Installation
------------

[](#installation)

In order for this module to work you will need to import the `onelogin/php-saml` module to your current project. You can do this by adding the following to your `composer.json` file:

```
    "require": {
        "onelogin/php-saml": "dev-sign-logout-request"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:micmania1/php-saml.git"
        }
    ]
```

The original `onelogin/php-saml` module initially brought on issues upon signing out. Therefore, the purpose behind this fork is to resolve any issues that the original module brought on and ensure that no further issues arise.

Lastly, run `composer install`

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~302 days

Recently: every ~372 days

Total

6

Last Release

1260d ago

Major Versions

1.0.0 → 2.0.02018-10-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff99459f7f2ca26bdf0fa8e4b43a971c28d8f2bf6f588eda2d239a6a8bf5b7ee?d=identicon)[NZTA](/maintainers/NZTA)

---

Top Contributors

[![ishannz](https://avatars.githubusercontent.com/u/20032948?v=4)](https://github.com/ishannz "ishannz (12 commits)")[![NightJar](https://avatars.githubusercontent.com/u/778003?v=4)](https://github.com/NightJar "NightJar (3 commits)")[![phalkunz](https://avatars.githubusercontent.com/u/318116?v=4)](https://github.com/phalkunz "phalkunz (3 commits)")[![satrun77](https://avatars.githubusercontent.com/u/166450?v=4)](https://github.com/satrun77 "satrun77 (3 commits)")[![Cambis](https://avatars.githubusercontent.com/u/12287346?v=4)](https://github.com/Cambis "Cambis (2 commits)")[![JakubDolba](https://avatars.githubusercontent.com/u/45079648?v=4)](https://github.com/JakubDolba "JakubDolba (1 commits)")

---

Tags

silverstripeSSOcmsokta

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/nzta-silverstripe-okta/health.svg)

```
[![Health](https://phpackages.com/badges/nzta-silverstripe-okta/health.svg)](https://phpackages.com/packages/nzta-silverstripe-okta)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
