Commit 33cf46a37222934266698669dd01a6a54c1d79c1
1 parent
78ccfa2000
Exists in
master
change code variable
Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff
.DS_Store
No preview for this file type
src/SsoClientLibrary.php
... | ... | @@ -64,7 +64,7 @@ |
64 | 64 | 'client_id' => $this->clientId, |
65 | 65 | 'client_secret' => $this->clientSecret, |
66 | 66 | 'redirect_uri' => $this->redirectUri, |
67 | - 'code' => $_GET['code'], | |
67 | + 'code' => $code, | |
68 | 68 | ]; |
69 | 69 | $arr_token = $this->__runCurl('POST', $this->targetUri."oauth/token", $_posts); |
70 | 70 | return $arr_token; |