foxworth42/oauth2-okta

Okta OAuth 2.0 Client Provider for The PHP League OAuth2-Client

v1.0.5 2024-11-21 01:46 UTC

This package is auto-updated.

Last update: 2024-12-21 02:03:50 UTC


README

Latest Version Software License Total Downloads Build Status Code Coverage

This package provides Okta OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

To install, use composer:

composer require foxworth42/oauth2-okta

Usage

Usage is the same as The League's OAuth client, using \Foxworth42\OAuth2\Client\Provider\Okta as the provider.

You must configure the Issuer URI as the issuer parameter. The issuer URI can be found in Okta's admin dashboard under API -> Authorization Servers.

Testing

$ ./vendor/bin/phpunit

License

The MIT License (MIT). Please see License File for more information.