aboutsummaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-28 21:20:13 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-28 21:20:13 -0500
commitd6132aaa88d0ef0bc261aab0a6915835d40b7372 (patch)
tree1c303152b729eba15fbc90e3665594944871927f /conf/app.ini
parent9adc8e9d3fe47d985d3bd8963f5803e8eff1c1eb (diff)
downloadgitea-d6132aaa88d0ef0bc261aab0a6915835d40b7372.tar.gz
gitea-d6132aaa88d0ef0bc261aab0a6915835d40b7372.zip
fix oauth2
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini9
1 files changed, 3 insertions, 6 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 2bd32eca60..dba75ed1b5 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -125,13 +125,10 @@ TOKEN_URL = https://accounts.google.com/o/oauth2/token
ENABLED = false
CLIENT_ID =
CLIENT_SECRET =
-SCOPES = all
+SCOPES = get_user_info
; QQ 互联
-; AUTH_URL = https://graph.qq.com/oauth2.0/authorize
-; TOKEN_URL = https://graph.qq.com/oauth2.0/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
+AUTH_URL = https://graph.qq.com/oauth2.0/authorize
+TOKEN_URL = https://graph.qq.com/oauth2.0/token
[oauth.weibo]
ENABLED = false