mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-16 18:05:57 +08:00
fix: remove whitespace from sso cert
This commit is contained in:
parent
ad2d4ed56c
commit
bd53513fe3
@ -102,7 +102,9 @@ func (od *GettableOrgDomain) GetSAMLIdpURL() string {
|
||||
|
||||
func (od *GettableOrgDomain) GetSAMLCert() string {
|
||||
if od.SamlConfig != nil {
|
||||
return od.SamlConfig.SamlCert
|
||||
// remove any whitespaces from the cert
|
||||
cert := strings.ReplaceAll(od.SamlConfig.SamlCert, " ", "")
|
||||
return cert
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user