google oauth implmented

This commit is contained in:
0xdcarns
2021-10-22 09:47:29 -04:00
parent 7939e5968f
commit 9c5703e28c
3 changed files with 23 additions and 8 deletions

View File

@@ -47,6 +47,8 @@ func initialize() { // Client Mode Prereq Check
var authProvider = auth.InitializeAuthProvider()
if authProvider != "" {
logic.Log("OAuth provider, "+authProvider+", initialized", 0)
} else {
logic.Log("no OAuth provider found or not configured, continuing without OAuth", 0)
}
if servercfg.IsClientMode() != "off" {