refactor: remove dependency on gin sessions

This commit is contained in:
Stavros
2025-04-06 19:13:09 +03:00
parent 5cf4e208c6
commit df849d5a5c
8 changed files with 105 additions and 64 deletions

View File

@@ -66,12 +66,8 @@ type OAuthConfig struct {
// APIConfig is the configuration for the API
type APIConfig struct {
Port int
Address string
Secret string
CookieSecure bool
SessionExpiry int
Domain string
Port int
Address string
}
// AuthConfig is the configuration for the auth service
@@ -79,6 +75,9 @@ type AuthConfig struct {
Users Users
OauthWhitelist []string
SessionExpiry int
Secret string
CookieSecure bool
Domain string
LoginTimeout int
LoginMaxRetries int
}