We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27ed60 commit b9a62e2Copy full SHA for b9a62e2
src/Omniphx/Forrest/Authentications/WebServer.php
@@ -53,8 +53,9 @@ public function callback()
53
{
54
//Salesforce sends us an authorization code as part of the Web Server OAuth Authentication Flow
55
$code = $this->input->get('code');
56
+ $state = stripslashes($this->input->get('state'));
57
- $stateOptions = json_decode(urldecode($this->input->get('state')), true);
58
+ $stateOptions = json_decode(urldecode($state), true);
59
60
//Store instance URL
61
$loginURL = $stateOptions['loginUrl'];
0 commit comments