This package provides a thin layer to interact with Gluu server.
To install this package you should add these lines into your composer.json
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/kwri/gluu-wrapper"
}
],
"require": {
"kwri/gluu-wrapper": "dev-master"
},
"prefer-stable": true,
"minimum-stability": "dev"
}
- Clone this repo as
openid
folder within your root directory (eg, in apache it would be/var/www/html
). - Do
composer install
. - Fill
idp_url
,client_secret
,client_password
andvalid_url
within test.php. - Now try to visit http://localhost/openid/test.php (complete the standard oauth flow, use
annie_team:sup3rs3cr3t
)