-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response formatting problem #231
Comments
Thanks for posting in our issue tracker.
Thanks! This is an automated comment, triggered by adding the label |
@samdark The authorization information returned by the third party site is this format: |
Callback sounds like jsonp is used. Is that the only way to use Tencent? |
@samdark Yes, the document is described as follows Step4: use Access Token to get the user's OpenID
|
Would you please give the link to the documentation? |
What steps will reproduce the problem?
When using Tencent QQ, the return value is this form callback ({'openid': 1}), so getData () can not parse the data normally.
What's expected?
How can you return to the JSON information in callback
What do you get instead?
yii\httpclient\Exception: Unable to detect format for content parsing. Raw response:
Known solutions:
Reduce the use of the yii2-authclient version [yii\authclient\BaseOAuth:: processResponse ()). The latest version of this method has been removed.
Additional info
The text was updated successfully, but these errors were encountered: