You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use sina weibo app, site need I set a redirect_uri, example: http://www.abc.com
when dev, I set SOCIAL_AUTH_WEIBO_KEY and SOCIAL_AUTH_WEIBO_SECRET. auth url is https://api.weibo.com/oauth2/authorize?state=vwKNabUwlCGKifEVky5TYmiHtCL5ZV7X&redirect_uri=http://192.168.9.191:9444/&response_type=code&client_id=123592348
see that redirect_uri=http://192.168.9.191:9444/, this will cause sina error:redirect_uri_mismatch, because this uri is not the same as I set as sina http://www.abc.com
question is: how to I set that redirect_uri?
Thanks.
The text was updated successfully, but these errors were encountered:
@duoduo369, the redirect_uri shouldn't be http://192.168.9.191:9444/, it should be http://yourdomain.com/complete/weibo and the value you define in Weibo should have the same format.
Also, if you try to look for a setting that sets that forces that domain in the value, there's not such thing, but you can trick the application by adding 127.0.0.1 www.abc.com in your /etc/hosts.
I use sina weibo app, site need I set a redirect_uri, example:
http://www.abc.com
when dev, I set
SOCIAL_AUTH_WEIBO_KEY
andSOCIAL_AUTH_WEIBO_SECRET
. auth url ishttps://api.weibo.com/oauth2/authorize?state=vwKNabUwlCGKifEVky5TYmiHtCL5ZV7X&redirect_uri=http://192.168.9.191:9444/&response_type=code&client_id=123592348
see that
redirect_uri=http://192.168.9.191:9444/
, this will cause sinaerror:redirect_uri_mismatch
, because this uri is not the same as I set as sinahttp://www.abc.com
question is: how to I set that redirect_uri?
Thanks.
The text was updated successfully, but these errors were encountered: