summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-14 05:07:19 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-14 05:07:19 -0400
commit3c3cda7326f11b2bb8a2a57a3bc327285bf6b115 (patch)
tree07d61773af91318adc1974c14695f216c2b0d9a3 /conf/app.ini
parentc3c2cfebaa5cf482f59a7c25972374cdc7a3fab4 (diff)
downloadgitea-3c3cda7326f11b2bb8a2a57a3bc327285bf6b115.tar.gz
gitea-3c3cda7326f11b2bb8a2a57a3bc327285bf6b115.zip
Weibo oauth
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini12
1 files changed, 8 insertions, 4 deletions
diff --git a/conf/app.ini b/conf/app.ini
index c70919961c..90ed0b5bc1 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -98,16 +98,20 @@ ENABLED = false
CLIENT_ID =
CLIENT_SECRET =
SCOPES = all
-AUTH_URL = https://open.t.qq.com/cgi-bin/oauth2/authorize
-TOKEN_URL = https://open.t.qq.com/cgi-bin/oauth2/access_token
+AUTH_URL = https://graph.qq.com/oauth2.0/authorize
+TOKEN_URL = https://graph.qq.com/oauth2.0/token
[oauth.twitter]
ENABLED = false
CLIENT_ID =
CLIENT_SECRET =
SCOPES = all
-AUTH_URL = https://api.twitter.com/oauth/authorize
-TOKEN_URL = https://api.twitter.com/oauth/access_token
+; Tencent weibo
+AUTH_URL = https://open.t.qq.com/cgi-bin/oauth2/authorize
+TOKEN_URL = https://open.t.qq.com/cgi-bin/oauth2/access_token
+; QQ 互联
+; AUTH_URL = https://api.twitter.com/oauth/authorize
+; TOKEN_URL = https://api.twitter.com/oauth/access_token
[oauth.weibo]
ENABLED = false