mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-21 10:17:22 +02:00
chore(deps): update gomod and golangci/golangci-lint to v2.11.4 (#3382)
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -694,7 +694,7 @@ func (l LegacyServer) convert() (Server, Server) {
|
||||
}
|
||||
|
||||
func (l *LegacyProvider) convert() (Providers, error) {
|
||||
providers := Providers{}
|
||||
providers := make(Providers, 0, 1)
|
||||
|
||||
provider := Provider{
|
||||
ClientID: l.ClientID,
|
||||
|
||||
@@ -165,7 +165,8 @@ func validateEntraConfig(provider options.Provider) []string {
|
||||
return msgs
|
||||
}
|
||||
|
||||
_, err := os.ReadFile(federatedTokenPath)
|
||||
// #nosec G703 -- AZURE_FEDERATED_TOKEN_FILE is set by the operator, not user input
|
||||
_, err := os.Stat(federatedTokenPath)
|
||||
if err != nil {
|
||||
msgs = append(msgs, "could not read entra federated token file")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user