1.4 KiB
1.4 KiB
Okta Provider for OAuth 2.0 Client
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.