-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Labels
self-hostedIssues related to self-hosted deploymentIssues related to self-hosted deployment
Description
Describe the bug
I'm unable to sign in using SAML with Authentik. I followed the Authentik setup guide, but the login fails. In the API logs, I see the following error: Failed to load SAML configuration. On the browser, the page returns a 500 Internal Server Error. The Authentik server uses Let's Encrypt Wildcard certificates.
Provide logs
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 172.19.0.9:50418 - "GET /info HTTP/1.1" 200 OK
/app/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'authentik.my.dom'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Response status: 302
Response status: 302
2025-11-28 08:31:26.489997Z [8] | ERROR tracecat.auth.saml:create_saml_client:318 - Failed to load SAML configuration: https://authentik.my.dom:10443/application/saml/tracecat/metadata/ | {}
INFO: 172.19.0.9:50430 - "POST /auth/saml/acs HTTP/1.1" 400 Bad Request
To reproduce
This is the Basic Setup in .env:
SAML_IDP_METADATA_URL=https://authentik.my.dom:10443/application/saml/tracecat/metadata/
SAML_ACCEPTED_TIME_DIFF=3
It makes no difference whether I set the following variables or not. SAML_METADATA_CERT is the certificate from Authentik Metadatafile and SAML_CA_CERTS is the Let's Encrypt CA certificate.
SAML_METADATA_CERT=MIIFUzC...
SAML_CA_CERTS=MIIEVzC...
SAML_VERIFY_SSL_ENTITY=false
SAML_VERIFY_SSL_METADATA=false
SAML_SIGNED_ASSERTIONS=false
SAML_SIGNED_RESPONSES=false
Expected behavior
Logon successful with SAML.
Screenshots
Environment (please complete the following information):
- Tracecat version:
0.52.0 - OS:
Ubuntu 24.04.3 LTS - Where did you deploy Tracecat:
Docker Container - CPU architecture:
AMD - Browser type:
Edge 142.0.3595.94 - Docker version:
28.5.2 - Docker Compose version:
1.29.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
self-hostedIssues related to self-hosted deploymentIssues related to self-hosted deployment