CLIENT_ID =
CLIENT_SECRET =
SCOPES = all
-AUTH_URL = https://graph.qq.com/oauth2.0/authorize
-TOKEN_URL = https://graph.qq.com/oauth2.0/token
+; 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
[oauth.twitter]
ENABLED = false
CLIENT_ID =
CLIENT_SECRET =
SCOPES = all
-; 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
+AUTH_URL = https://api.twitter.com/oauth/authorize
+TOKEN_URL = https://api.twitter.com/oauth/access_token
[oauth.weibo]
ENABLED = false
"github.com/codegangsta/cli"
"github.com/go-martini/martini"
-
qlog "github.com/qiniu/log"
"github.com/gogits/gogs/modules/auth"