Repository: airavata-php-gateway Updated Branches: refs/heads/develop 5337dd322 -> 289b9e49f
encoding username and password Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/289b9e49 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/289b9e49 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/289b9e49 Branch: refs/heads/develop Commit: 289b9e49f7ffc31e699b2b87cbb3d572ce8c4849 Parents: 5337dd3 Author: scnakandala <[email protected]> Authored: Tue Apr 19 12:28:23 2016 -0400 Committer: scnakandala <[email protected]> Committed: Tue Apr 19 12:28:23 2016 -0400 ---------------------------------------------------------------------- app/libraries/Wsis/Stubs/OAuthManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/289b9e49/app/libraries/Wsis/Stubs/OAuthManager.php ---------------------------------------------------------------------- diff --git a/app/libraries/Wsis/Stubs/OAuthManager.php b/app/libraries/Wsis/Stubs/OAuthManager.php index b67c3a1..e127e18 100644 --- a/app/libraries/Wsis/Stubs/OAuthManager.php +++ b/app/libraries/Wsis/Stubs/OAuthManager.php @@ -70,7 +70,7 @@ class OAuthManager )); // Assemble POST parameters for the request. - $post_fields = "grant_type=password&username=" . urlencode($username) . "&password=" . urlencode($password) . "&scope=openid"; + $post_fields = "grant_type=password&username=" . $username . "&password=" . $password . "&scope=openid"; // Obtain and return the access token from the response. curl_setopt($r, CURLOPT_POST, true);
