|
|
|
|
@ -199,12 +199,17 @@ OAHUTH = {
|
|
|
|
|
'sina': {
|
|
|
|
|
'appkey': '3161614143',
|
|
|
|
|
'appsecret': 'ee17c099317f872eeddb25204ea46721',
|
|
|
|
|
'callbackurl': 'http://www.lylinux.net/oauth/weibo'
|
|
|
|
|
'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=weibo'
|
|
|
|
|
},
|
|
|
|
|
'google': {
|
|
|
|
|
'appkey': os.environ.get('GOOGLE_APP_KEY'),
|
|
|
|
|
'appsecret': os.environ.get('GOOGLE_APP_SECRET'),
|
|
|
|
|
'callbackurl': 'http://www.lylinux.net/oauth/googleauthorize'
|
|
|
|
|
'appkey': 'googleappkey',
|
|
|
|
|
'appsecret': 'googleappsecret',
|
|
|
|
|
'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=google'
|
|
|
|
|
},
|
|
|
|
|
'github': {
|
|
|
|
|
'appkey': 'githubappkey',
|
|
|
|
|
'appsecret': 'githubappsecret',
|
|
|
|
|
'callbackurl': 'http://www.lylinux.net/oauth/authorize?type=github'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|