Download the PHP package ichti/oauth2-keycloak without Composer
On this page you can find all versions of the php package ichti/oauth2-keycloak. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ichti/oauth2-keycloak
More information about ichti/oauth2-keycloak
Files in ichti/oauth2-keycloak
Package oauth2-keycloak
Short Description Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client
License MIT
Informations about the package oauth2-keycloak
Keycloak Provider for OAuth 2.0 Client
This package provides Keycloak OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Original package: stevenmaguire - Keycloak Provider for OAuth 2.0 Client.
Installation
To install, use composer:
Usage
Usage is the same as The League's OAuth client, using \Stevenmaguire\OAuth2\Client\Provider\Keycloak
as the provider.
Use authServerUrl
to specify the Keycloak server URL. You can lookup the correct value from the Keycloak client installer JSON under auth-server-url
, eg. http://localhost:8080/auth
.
Use realm
to specify the Keycloak realm name. You can lookup the correct value from the Keycloak client installer JSON under resource
, eg. master
.
Authorization Code Flow
Refreshing a Token
Handling encryption
If you've configured your Keycloak instance to use encryption, there are some advanced options available to you.
Configure the provider to use the same encryption algorithm
or
Configure the provider to use the expected decryption public key or certificate
By key value
or
By key path
or
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of oauth2-keycloak with dependencies
league/oauth2-client Version ^2.0
firebase/php-jwt Version ^5.0
ext-json Version *