adamlundrigan / ldc-oauth2-crypto-token
JWT CryptoToken configuration for zf-oauth2
Installs: 130
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 2
Open Issues: 2
pkg:composer/adamlundrigan/ldc-oauth2-crypto-token
Requires
- bshaffer/oauth2-server-php: >=1.6,<2.0
- zfcampus/zf-oauth2: 1.*
Requires (Dev)
- fabpot/php-cs-fixer: @stable
- mockery/mockery: 0.*
- phpunit/phpunit: 4.*
- zendframework/zend-servicemanager: 2.*
This package is not auto-updated.
Last update: 2025-10-07 10:16:21 UTC
README
Reconfigures zf-oauth2
to issue JWT access tokens.
How?
-
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. -
Enable required modules in your
application.config.php
file:- ZF\OAuth2
- LdcOAuth2CryptoToken
-
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.
-
Copy the dist configuration file
ldc-oauth2-crypto-token.local.php.dist
toconfig/autoload