oauth2-proxy/pkg
Olivier Mengué 1225d611e9
chore(lint): fix staticcheck issues (#3061)
* chores: fix staticcheck QF1012

Fix use of fmt.Sprintf when writing to a writer.
https://staticcheck.dev/docs/checks/#QF1012
https://github.com/oauth2-proxy/oauth2-proxy/issues/3060

* chores: fix staticcheck QF1003

Use switch instead of multiple if/else.
https://staticcheck.dev/docs/checks/#QF1003
https://github.com/oauth2-proxy/oauth2-proxy/issues/3060

* chores: exclude staticcheck QF1008 for now

We aim to migrate golangci-lint to v2
Let's disable QF1008 (Omit embedded fields from selector expression)
for now.
https://staticcheck.dev/docs/checks/#QF1008

* chores: fix golangci config: run.deadline -> timeout

Rename config option to match v1 documentation: deadline -> timeout.
https://golangci.github.io/legacy-v1-doc/usage/configuration/#run-configuration

This error has been spotted by golangci-lint v2 migration tool.

* chores: fix staticcheck QF1012
2025-05-26 12:29:34 +02:00
..
apis docs: clear up multiple-providers is unimplemented (#3046) 2025-04-28 23:52:27 +02:00
app chore(lint): fix staticcheck issues (#3061) 2025-05-26 12:29:34 +02:00
authentication/basic chore: fix function names in comment 2024-09-15 09:34:15 +02:00
clock chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
cookies pkg/cookies: use 'Max-Age' instead of 'Expires' for cookie expiration 2025-02-24 11:14:51 +01:00
encryption feat: update HashNonce to use crypto/sha256 (#2967) 2025-03-25 21:12:37 +01:00
header chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
http fix: systemd socket support build handling for windows 2025-01-13 16:41:33 +01:00
ip feat: add CF-Connecting-IP as supported real ip header (#2821) 2024-11-04 23:28:08 +01:00
logger Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
middleware Add --bearer-token-login-fallback option (#2924) 2025-04-21 13:40:39 +01:00
providers feat: ability to parse JWT encoded profile claims (#3014) 2025-04-28 16:39:09 +02:00
requests better handling of default transport modification 2024-10-06 21:43:38 +02:00
sessions pkg/cookies: use 'Max-Age' instead of 'Expires' for cookie expiration 2025-02-24 11:14:51 +01:00
upstream fix: websocket path rewrite (#2300) 2024-11-04 23:12:35 +01:00
util Issue: 2236 - adds an option to append CA certificates (#2237) 2023-10-25 11:36:17 +01:00
validation feat(entra): add Workload Identity support for Entra ID (#2902) 2025-01-11 11:12:41 +00:00
version feat: Replace default Go user-agent with oauth2-proxy and version (#2570) 2024-07-14 21:09:17 +01:00
watcher Fix Linting Errors (#1835) 2022-10-21 11:57:51 +01:00