Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / headscale / trim-oidc-secret-path.patch
blob4275988aa7db6d2c2c1097d42b4261f80187d576
1 diff --git a/hscontrol/config.go b/hscontrol/config.go
2 index 0e83a1c..71fbfb0 100644
3 --- a/hscontrol/config.go
4 +++ b/hscontrol/config.go
5 @@ -573,7 +573,7 @@ func GetHeadscaleConfig() (*Config, error) {
6 if err != nil {
7 return nil, err
9 - oidcClientSecret = string(secretBytes)
10 + oidcClientSecret = strings.TrimSpace(string(secretBytes))
13 return &Config{