foxworth42/oauth2-okta

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

v1.0.2 2020-09-28 06:28 UTC

This package is auto-updated.

Last update: 2021-10-12 20:23:34 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.