From 47f45ea0ce8b3486333675e29546f6359575e7c1 Mon Sep 17 00:00:00 2001 From: Achim Rohn Date: Sun, 27 Jul 2025 19:59:51 +0200 Subject: [PATCH] Add initial setup of main --- authentication/keycloak.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/authentication/keycloak.go b/authentication/keycloak.go index 438cb9a..ce95de5 100644 --- a/authentication/keycloak.go +++ b/authentication/keycloak.go @@ -12,15 +12,17 @@ import ( const OpenIdConnectPath = "/auth/openid-connect" +type KeycloakEnvClient struct { + ClientId string + ClientSecret string + DiscoveryUrl string +} + type KeycloakEnv struct { - SessionSecret string - BaseUrl string - SessionName string - Keycloak struct { - CLientId string - ClientSecret string - DiscoveryUrl string - } + SessionSecret string + BaseUrl string + SessionName string + Keycloak KeycloakEnvClient EmailSessionKey string UserIdSessionKey string }