api: add github oauth

Closes https://gitlab.com/commento/commento/issues/20
This commit is contained in:
Adhityaa Chandrasekar
2019-01-30 21:15:16 -05:00
parent 24d76c2fb6
commit 55f24b2de2
8 changed files with 200 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ func configParse() error {
"GOOGLE_KEY": "",
"GOOGLE_SECRET": "",
"GITHUB_KEY": "",
"GITHUB_SECRET": "",
}
for key, value := range defaults {