This commit is contained in:
chenwenxiao
2019-02-21 15:41:09 +08:00
parent 9442e00997
commit f9f3142543
6 changed files with 123 additions and 31 deletions

View File

@@ -180,6 +180,8 @@ func main() {
handleOpenID(gcfg.Auth.OpenID, false) // FIXME(ssx): set secure default to false
// case "github":
// handleOAuth2ID(gcfg.Auth.Type, gcfg.Auth.ID, gcfg.Auth.Secret) // FIXME(ssx): set secure default to false
case "oauth2-proxy":
handleOauth2()
}
// CORS