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) {
9 - oidcClientSecret = string(secretBytes)
10 + oidcClientSecret = strings.TrimSpace(string(secretBytes))