33 lines
1.4 KiB
Markdown
33 lines
1.4 KiB
Markdown
![]() |
# Okta Provider for OAuth 2.0 Client
|
||
|
[](https://github.com/foxworth42/oauth2-okta/releases)
|
||
|
[](LICENSE.md)
|
||
|
[](https://packagist.org/packages/foxworth42/oauth2-okta)
|
||
|
[](https://travis-ci.org/foxworth42/oauth2-okta)
|
||
|
[](https://coveralls.io/r/foxworth42/oauth2-okta)
|
||
|
|
||
|
This package provides Okta OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-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
|
||
|
|
||
|
``` bash
|
||
|
$ ./vendor/bin/phpunit
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
The MIT License (MIT). Please see [License File](https://github.com/foxworth42/oauth2-okta/blob/master/LICENSE) for more information.
|