Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

Revert "fix: remove whitespace from sso cert (#8141)" (#8233)

Nityananda Gohain7d8dad4550d3
diff --git a/pkg/types/domain.go b/pkg/types/domain.go
index 31315e9cc3..1ea6eb50de 100644
--- a/pkg/types/domain.go
+++ b/pkg/types/domain.go
@@ -102,9 +102,7 @@ func (od *GettableOrgDomain) GetSAMLIdpURL() string {
func (od *GettableOrgDomain) GetSAMLCert() string {
if od.SamlConfig != nil {
- // remove any whitespaces from the cert
- cert := strings.ReplaceAll(od.SamlConfig.SamlCert, " ", "")
- return cert
+ return od.SamlConfig.SamlCert
}
return ""
}