diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c3669d3..8792e1e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.0.6 (released 2013-02-) + +* Added links to tutorials in the README +* Added missing `state` parameter request to the `checkAuthoriseParams()` method. + ## 1.0.5 (released 2013-02-21) * Fixed the SQL example for SessionInterface::getScopes() diff --git a/composer.json b/composer.json index 31e049a9..fe7ff0e3 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "lncd/oauth2", - "description": "OAuth 2.0 Framework", - "version": "1.0.5", + "description": "A lightweight and powerful OAuth 2.0 authoriation and resource server library with support for all the core specification grants", + "version": "1.0.6", "homepage": "https://github.com/lncd/OAuth2", "license": "MIT", "require": { diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index 927ecea9..1cdb182b 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -249,7 +249,7 @@ class AuthServer public function checkAuthoriseParams($inputParams = array()) { // Auth params - $authParams = self::getParam(array('client_id', 'redirect_uri', 'response_type', 'scope'), 'get', $inputParams); + $authParams = self::getParam(array('client_id', 'redirect_uri', 'response_type', 'scope', 'state'), 'get', $inputParams); if (is_null($authParams['client_id'])) { throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'client_id'), 0);