我正在关注yii2-user guide,并成功通过 Facebook 帐户登录。现在我想通过 Twitter 帐户和我的
'consumerKey' => 'h5XFtvRVSxxxxxxxxxxxxx',
'consumerSecret' => 'Zb6lCescDoatl1thwGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
但是当我尝试通过 twitter 登录时,出现以下错误:
Request failed with code: 401, message:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash>
</xml>