This commit is contained in:
2021-07-21 15:38:38 +02:00
parent 64c307cb7b
commit 588c818c0d
9 changed files with 87 additions and 48 deletions

View File

@@ -4,9 +4,9 @@ func main() {
config := Config{
DataDir: "/var/lib/ddnsService",
Addr: ":8999", OAuth2ClientID: "0oa472q93Zu227hXY5d6",
OAuth2ClientSecret: "sj98SdfZxjkYxUd8NCbyhSuPX1D7kPARDRJ0kVUe",
IssuerUrl: "https://dev-1614211.okta.com/oauth2/default",
Addr: ":8999", OAuth2ClientID: "ddnsService",
OAuth2ClientSecret: "",
IssuerUrl: "https://auth.voglfrei.net/auth/realms/master",
OAuth2RedirectUrl: "http://localhost:8999/admin",
ZoneUrl: "hub.voglfrei.net"}
server := CreateHttpServer(&config)