return $token;
}
+ $client = 'unknown';
+ if (isset($_GET['client'])) {
+ $client = $_GET['client'];
+ }
+
$res = new TemplateResponse('grauphel', 'oauthAuthorize');
$res->setParams(
array(
'oauth_token' => $token->tokenKey,
+ 'client' => $client,
'formaction' => $this->deps->urlGen->linkToRoute(
'grauphel.oauth.confirm'
),
array(
'oauth_token' => $token->tokenKey,
'oauth_token_secret' => $token->secret,
- 'oauth_callback_confirmed' => 'TRUE'
+ 'oauth_callback_confirmed' => 'true'
)
);
} catch (OAuthException $e) {