foxworth42 / oauth2-okta
Okta OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Installs: 539 053
Dependents: 2
Suggesters: 1
Security: 0
Stars: 8
Watchers: 1
Forks: 2
Open Issues: 2
Requires
- php: >=7.1.0
- league/oauth2-client: ^2.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^7.0
- squizlabs/php_codesniffer: ^3.4
README
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.