mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-15 04:18:03 +00:00
Merge main into 0.8.0-redis: resolve conflicts
Merged the following features from main: - Dynamic Client Registration (RFC 7591) - Sharded cache and CPU spike prevention - Documentation updates (CNAME, index.html) Resolved conflicts in: - settings.go: Combined Redis config with Dynamic Client Registration config - universal_cache_singleton.go: Merged Redis backend support with consolidated cleanup Both features now work together: - Redis distributed caching with circuit breaker and health checks - Consolidated cleanup goroutine (reduces from 7 to 1) - SkipAutoCleanup flag honored for all cache types
This commit is contained in:
@@ -57,6 +57,7 @@ type ProviderMetadata struct {
|
||||
EndSessionURL string `json:"end_session_endpoint"`
|
||||
IntrospectionURL string `json:"introspection_endpoint,omitempty"` // OAuth 2.0 Token Introspection (RFC 7662)
|
||||
ScopesSupported []string `json:"scopes_supported,omitempty"` // Supported scopes from discovery
|
||||
RegistrationURL string `json:"registration_endpoint,omitempty"` // OIDC Dynamic Client Registration (RFC 7591)
|
||||
}
|
||||
|
||||
// TraefikOidc is the main middleware struct that implements OIDC authentication for Traefik.
|
||||
@@ -130,4 +131,9 @@ type TraefikOidc struct {
|
||||
securityHeadersApplier func(http.ResponseWriter, *http.Request)
|
||||
scopeFilter *ScopeFilter // NEW - for discovery-based scope filtering
|
||||
scopesSupported []string // NEW - from provider metadata
|
||||
|
||||
// Dynamic Client Registration (RFC 7591)
|
||||
dynamicClientRegistrar *DynamicClientRegistrar
|
||||
dcrConfig *DynamicClientRegistrationConfig
|
||||
registrationURL string // OIDC Dynamic Client Registration endpoint
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user