1616# - SAML groups are captured for the group mapping feature
1717# - Group mappings are configured via Admin API, not parsed from assertion attributes
1818
19+ [server ]
20+ # Allow Docker-internal private IPs for SAML/OIDC discovery (Authentik runs in Docker)
21+ allow_private_urls = true
22+
1923[ui ]
2024enabled = true
2125
@@ -31,22 +35,16 @@ api_key = "gw_test_bootstrap_key_for_e2e"
3135auto_verify_domains = [" university.edu" ]
3236
3337# ==============================================================================
34- # Session Configuration (for per-org SSO)
38+ # Auth Mode: IdP ( per-org SSO)
3539# ==============================================================================
3640# SAML authentication is configured per-organization via the Admin API.
37- # This section configures session management for authenticated users.
38- [ auth . admin ]
39- type = " session "
40- secure = false # For local dev over HTTP
41+ # Session management for authenticated users is configured below .
42+ # No API key requirement for this test — focuses on SAML SSO flow.
43+ [ auth . mode ]
44+ type = " idp "
4145
42- # ==============================================================================
43- # API Authentication
44- # ==============================================================================
45- # For SAML E2E tests, we disable API authentication to allow bootstrapping.
46- # In production, you would use API keys for programmatic access.
47- # The test focuses on SAML SSO flow, not API key management.
48- [auth .gateway ]
49- type = " none"
46+ [auth .session ]
47+ secure = false # For local dev over HTTP
5048
5149# ==============================================================================
5250# RBAC Configuration
0 commit comments