Reconfigures zf-oauth2 to issue JWT access tokens
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src/Factory
tests
.gitignore
.scrutinizer.yml
.travis.yml
LICENSE
Module.php
README.md
composer.json
phpunit.xml

README.md

LdcOAuth2CryptoToken

Reconfigures zf-oauth2 to issue JWT access tokens.


Latest Stable Version License Build Status Code Coverage Scrutinizer Code Quality


How?

  1. Install module using Composer

    composer require adamlundrigan/ldc-oauth2-crypto-token:~2.0
    

    NOTE: If your application requires bshaffer/oauth2-server-php version < 1.6, use V1 of this module.

  2. Enable required modules in your application.config.php file:

    • ZF\OAuth2
    • LdcOAuth2CryptoToken
  3. You will need an RSA public/private key pair. If you do not already have one, refer to "Creating a Public and Private Key Pair" section of this page.

  4. Copy the dist configuration file ldc-oauth2-crypto-token.local.php.dist to config/autoload