create new OAuth provider from settings

This commit is contained in:
2026-08-06 20:19:55 -04:00
parent 793904e942
commit a0c57bd582
+4
View File
@@ -10,6 +10,10 @@ func main() {
auth.SetAuth()
read_config()
if serverConfig.OAuthEnabled {
auth.CreateOAuthProvider(serverConfig.OAuthIssuer, serverConfig.OAuthClientID)
}
caldav.InitDavClient(serverConfig.URL)
webserver.ServeLoginPage("/login", webserver.CustomizableLoginData{